XRootD
XrdCl::FreeSpace Class Reference

#include <XrdClEcHandler.hh>

+ Collaboration diagram for XrdCl::FreeSpace:

Public Member Functions

 FreeSpace ()
 
void Dump () const
 
bool operator< (const FreeSpace &a) const
 

Public Attributes

std::string address
 
uint64_t freeSpace
 

Detailed Description

Definition at line 30 of file XrdClEcHandler.hh.

Constructor & Destructor Documentation

◆ FreeSpace()

XrdCl::FreeSpace::FreeSpace ( )
inline

Definition at line 34 of file XrdClEcHandler.hh.

34 {};

Member Function Documentation

◆ Dump()

void XrdCl::FreeSpace::Dump ( ) const
inline

Definition at line 39 of file XrdClEcHandler.hh.

40  {
41  std::cout << address << " : " << freeSpace << std::endl;
42  }
std::string address

References address, and freeSpace.

◆ operator<()

bool XrdCl::FreeSpace::operator< ( const FreeSpace a) const
inline

Definition at line 35 of file XrdClEcHandler.hh.

36  {
37  return ((freeSpace > a.freeSpace) ? true : false);
38  }

References freeSpace.

Member Data Documentation

◆ address

std::string XrdCl::FreeSpace::address

Definition at line 32 of file XrdClEcHandler.hh.

Referenced by Dump().

◆ freeSpace

uint64_t XrdCl::FreeSpace::freeSpace

Definition at line 33 of file XrdClEcHandler.hh.

Referenced by Dump(), and operator<().


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