xrootd
Loading...
Searching...
No Matches
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)
 
 ~SpaceInfo ()
 
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

std::unique_ptr< SpaceInfoImpl > pImpl
 

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 
)

◆ ~SpaceInfo()

XrdCl::FileSystemUtils::SpaceInfo::~SpaceInfo ( )

Member Function Documentation

◆ GetFree()

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

Amount of free space in MB.

◆ GetLargestFreeChunk()

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

Largest single chunk of free space.

◆ GetTotal()

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

Amount of total space in MB.

◆ GetUsed()

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

Amount of used space in MB.

Member Data Documentation

◆ pImpl

std::unique_ptr<SpaceInfoImpl> XrdCl::FileSystemUtils::SpaceInfo::pImpl
private

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