xrootd
Public Member Functions | Private Attributes | List of all members
XrdCl::FileSystemUtils::SpaceInfo Class Reference

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. More...
 
uint64_t GetFree () const
 Amount of free space in MB. More...
 
uint64_t GetUsed () const
 Amount of used space in MB. More...
 
uint64_t GetLargestFreeChunk () const
 Largest single chunk of free space. More...
 

Private Attributes

uint64_t pTotal
 
uint64_t pFree
 
uint64_t pUsed
 
uint64_t pLargestChunk
 

Detailed Description

Container for space information.

Constructor & Destructor Documentation

◆ SpaceInfo()

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

Member Function Documentation

◆ GetFree()

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

Amount of free space in MB.

References pFree.

◆ GetLargestFreeChunk()

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

Largest single chunk of free space.

References pLargestChunk.

◆ GetTotal()

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

Amount of total space in MB.

References pTotal.

◆ GetUsed()

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

Amount of used space in MB.

References pUsed.

Member Data Documentation

◆ pFree

uint64_t XrdCl::FileSystemUtils::SpaceInfo::pFree
private

Referenced by GetFree().

◆ pLargestChunk

uint64_t XrdCl::FileSystemUtils::SpaceInfo::pLargestChunk
private

Referenced by GetLargestFreeChunk().

◆ pTotal

uint64_t XrdCl::FileSystemUtils::SpaceInfo::pTotal
private

Referenced by GetTotal().

◆ pUsed

uint64_t XrdCl::FileSystemUtils::SpaceInfo::pUsed
private

Referenced by GetUsed().


The documentation for this class was generated from the following file: