xrootd
Loading...
Searching...
No Matches
Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
XrdCl::DirectoryList::ListEntry Class Reference

Directory entry. More...

#include <XrdClXRootDResponses.hh>

Collaboration diagram for XrdCl::DirectoryList::ListEntry:
Collaboration graph
[legend]

Public Member Functions

 ListEntry (const std::string &hostAddress, const std::string &name, StatInfo *statInfo=0)
 Constructor.
 
 ~ListEntry ()
 Destructor.
 
const std::string & GetHostAddress () const
 Get host address.
 
const std::string & GetName () const
 Get file name.
 
StatInfoGetStatInfo ()
 Get the stat info object.
 
const StatInfoGetStatInfo () const
 Get the stat info object.
 
void SetStatInfo (StatInfo *info)
 Set the stat info object (and transfer the ownership)
 

Static Private Member Functions

static std::string SanitizeName (const std::string &name)
 

Private Attributes

std::string pHostAddress
 
std::string pName
 
StatInfopStatInfo
 

Detailed Description

Directory entry.

Constructor & Destructor Documentation

◆ ListEntry()

XrdCl::DirectoryList::ListEntry::ListEntry ( const std::string &  hostAddress,
const std::string &  name,
StatInfo statInfo = 0 
)
inline

Constructor.

◆ ~ListEntry()

XrdCl::DirectoryList::ListEntry::~ListEntry ( )
inline

Destructor.

References pStatInfo.

Member Function Documentation

◆ GetHostAddress()

const std::string & XrdCl::DirectoryList::ListEntry::GetHostAddress ( ) const
inline

Get host address.

References pHostAddress.

◆ GetName()

const std::string & XrdCl::DirectoryList::ListEntry::GetName ( ) const
inline

Get file name.

References pName.

◆ GetStatInfo() [1/2]

StatInfo * XrdCl::DirectoryList::ListEntry::GetStatInfo ( )
inline

Get the stat info object.

References pStatInfo.

◆ GetStatInfo() [2/2]

const StatInfo * XrdCl::DirectoryList::ListEntry::GetStatInfo ( ) const
inline

Get the stat info object.

References pStatInfo.

◆ SanitizeName()

static std::string XrdCl::DirectoryList::ListEntry::SanitizeName ( const std::string &  name)
inlinestaticprivate

◆ SetStatInfo()

void XrdCl::DirectoryList::ListEntry::SetStatInfo ( StatInfo info)
inline

Set the stat info object (and transfer the ownership)

References pStatInfo.

Member Data Documentation

◆ pHostAddress

std::string XrdCl::DirectoryList::ListEntry::pHostAddress
private

Referenced by GetHostAddress().

◆ pName

std::string XrdCl::DirectoryList::ListEntry::pName
private

Referenced by GetName().

◆ pStatInfo

StatInfo* XrdCl::DirectoryList::ListEntry::pStatInfo
private

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