|
xrootd
|
Object stat info. More...
#include <XrdClXRootDResponses.hh>

Public Types | |
| enum | Flags { XBitSet = kXR_xset, IsDir = kXR_isDir, Other = kXR_other, Offline = kXR_offline, POSCPending = kXR_poscpend, IsReadable = kXR_readable, IsWritable = kXR_writable } |
| Flags. More... | |
Public Member Functions | |
| StatInfo (const char *data) | |
| Constructor. | |
| const std::string | GetId () const |
| Get id. | |
| uint64_t | GetSize () const |
| Get size (in bytes) | |
| uint32_t | GetFlags () const |
| Get flags. | |
| bool | TestFlags (uint32_t flags) const |
| Test flags. | |
| uint64_t | GetModTime () const |
| Get modification time (in seconds since epoch) | |
| std::string | GetModTimeAsString () const |
| Get modification time. | |
Private Member Functions | |
| void | ParseServerResponse (const char *data) |
Private Attributes | |
| std::string | pId |
| uint64_t | pSize |
| uint32_t | pFlags |
| uint64_t | pModTime |
Object stat info.
Flags.
| XrdCl::StatInfo::StatInfo | ( | const char * | data | ) |
Constructor.
References ParseServerResponse().
| uint32_t XrdCl::StatInfo::GetFlags | ( | ) | const [inline] |
| const std::string XrdCl::StatInfo::GetId | ( | ) | const [inline] |
| uint64_t XrdCl::StatInfo::GetModTime | ( | ) | const [inline] |
Get modification time (in seconds since epoch)
References pModTime.
| std::string XrdCl::StatInfo::GetModTimeAsString | ( | ) | const [inline] |
| uint64_t XrdCl::StatInfo::GetSize | ( | ) | const [inline] |
Get size (in bytes)
References pSize.
Referenced by XrdCl::ThirdPartyCopyJob::CanDo(), DoLS(), DoStat(), XrdCl::FileStateHandler::OnOpen(), ThreadingTest::ReadTestFunc(), and XrdCl::ThirdPartyCopyJob::Run().
| void XrdCl::StatInfo::ParseServerResponse | ( | const char * | data | ) | [private] |
References pFlags, pId, pModTime, pSize, and XrdCl::Utils::splitString().
Referenced by StatInfo().
| bool XrdCl::StatInfo::TestFlags | ( | uint32_t | flags | ) | const [inline] |
uint32_t XrdCl::StatInfo::pFlags [private] |
Referenced by GetFlags(), ParseServerResponse(), and TestFlags().
std::string XrdCl::StatInfo::pId [private] |
Referenced by GetId(), and ParseServerResponse().
uint64_t XrdCl::StatInfo::pModTime [private] |
Referenced by GetModTime(), GetModTimeAsString(), and ParseServerResponse().
uint64_t XrdCl::StatInfo::pSize [private] |
Referenced by GetSize(), and ParseServerResponse().
1.7.6.1