Container for space information. More...
#include <XrdClFileSystemUtils.hh>
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 |
Container for space information.
XrdCl::FileSystemUtils::SpaceInfo::SpaceInfo | ( | uint64_t | total, | |
uint64_t | free, | |||
uint64_t | used, | |||
uint64_t | largestChunk | |||
) | [inline] |
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.
uint64_t XrdCl::FileSystemUtils::SpaceInfo::pFree [private] |
Referenced by GetFree().
uint64_t XrdCl::FileSystemUtils::SpaceInfo::pLargestChunk [private] |
Referenced by GetLargestFreeChunk().
uint64_t XrdCl::FileSystemUtils::SpaceInfo::pTotal [private] |
Referenced by GetTotal().
uint64_t XrdCl::FileSystemUtils::SpaceInfo::pUsed [private] |
Referenced by GetUsed().