XrdCl::StatInfo Class Reference

Object stat info. More...

#include <XrdClXRootDResponses.hh>

List of all members.

Public Types

 XBitSet = kXR_xset
 Executable/searchable bit set.
 IsDir = kXR_isDir
 This is a directory.
 Other = kXR_other
 Neither a file nor a directory.
 Offline = kXR_offline
 File is not online (ie. on disk).
 POSCPending = kXR_poscpend
 IsReadable = kXR_readable
 Read access is allowed.
 IsWritable = kXR_writable
 Write access is allowed.
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


Detailed Description

Object stat info.


Member Enumeration Documentation

enum XrdCl::StatInfo::Flags

Flags.

Enumerator:
XBitSet  Executable/searchable bit set.
IsDir  This is a directory.
Other  Neither a file nor a directory.
Offline  File is not online (ie. on disk).
POSCPending  File opened with POST flag, not yet successfully closed
IsReadable  Read access is allowed.
IsWritable  Write access is allowed.


Constructor & Destructor Documentation

XrdCl::StatInfo::StatInfo ( const char *  data  ) 

Constructor.


Member Function Documentation

uint32_t XrdCl::StatInfo::GetFlags (  )  const [inline]

Get flags.

const std::string XrdCl::StatInfo::GetId (  )  const [inline]

Get id.

uint64_t XrdCl::StatInfo::GetModTime (  )  const [inline]

Get modification time (in seconds since epoch).

std::string XrdCl::StatInfo::GetModTimeAsString (  )  const [inline]

Get modification time.

uint64_t XrdCl::StatInfo::GetSize (  )  const [inline]

Get size (in bytes).

void XrdCl::StatInfo::ParseServerResponse ( const char *  data  )  [private]

bool XrdCl::StatInfo::TestFlags ( uint32_t  flags  )  const [inline]

Test flags.


Member Data Documentation

uint32_t XrdCl::StatInfo::pFlags [private]

std::string XrdCl::StatInfo::pId [private]

uint64_t XrdCl::StatInfo::pModTime [private]

uint64_t XrdCl::StatInfo::pSize [private]


The documentation for this class was generated from the following file:
Generated on 27 Jul 2013 for xrootd by  doxygen 1.4.7