XrdCl::FileSystemUtils::SpaceInfo Class Reference

Container for space information. More...

#include <XrdClFileSystemUtils.hh>

List of all members.

Public Member Functions

 SpaceInfo (uint64_t total, uint64_t free, uint64_t used, uint64_t largestChunk)
uint64_t GetTotal () const
 Amount of total space in MB.
uint64_t GetFree () const
 Amount of free space in MB.
uint64_t GetUsed () const
 Amount of used space in MB.
uint64_t GetLargestFreeChunk () const
 Largest single chunk of free space.

Private Attributes

uint64_t pTotal
uint64_t pFree
uint64_t pUsed
uint64_t pLargestChunk

Detailed Description

Container for space information.


Constructor & Destructor Documentation

XrdCl::FileSystemUtils::SpaceInfo::SpaceInfo ( uint64_t  total,
uint64_t  free,
uint64_t  used,
uint64_t  largestChunk 
) [inline]

Member Function Documentation

uint64_t XrdCl::FileSystemUtils::SpaceInfo::GetFree (  )  const [inline]

Amount of free space in MB.

References pFree.

uint64_t XrdCl::FileSystemUtils::SpaceInfo::GetLargestFreeChunk (  )  const [inline]

Largest single chunk of free space.

References pLargestChunk.

uint64_t XrdCl::FileSystemUtils::SpaceInfo::GetTotal (  )  const [inline]

Amount of total space in MB.

References pTotal.

uint64_t XrdCl::FileSystemUtils::SpaceInfo::GetUsed (  )  const [inline]

Amount of used space in MB.

References pUsed.


Member Data Documentation

Referenced by GetFree().

Referenced by GetLargestFreeChunk().

Referenced by GetTotal().

Referenced by GetUsed().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 23 Mar 2020 for xrootd by  doxygen 1.6.1