XRootD
XrdClHttp::StatResponse Class Reference

#include <XrdClHttpResponses.hh>

+ Inheritance diagram for XrdClHttp::StatResponse:
+ Collaboration diagram for XrdClHttp::StatResponse:

Public Member Functions

 StatResponse (const std::string &id, uint64_t size, uint32_t flags, uint64_t modTime)
 
std::unique_ptr< ResponseInfoGetResponseInfo ()
 
void SetResponseInfo (std::unique_ptr< ResponseInfo > info)
 
- Public Member Functions inherited from XrdCl::StatInfo
 StatInfo ()
 Constructor. More...
 
 StatInfo (const StatInfo &info)
 Copy constructor. More...
 
 StatInfo (const std::string &id, uint64_t size, uint32_t flags, uint64_t modTime)
 Constructor. More...
 
virtual ~StatInfo ()
 Destructor. More...
 
bool ExtendedFormat () const
 Has extended stat information. More...
 
uint64_t GetAccessTime () const
 Get change time (in seconds since epoch) More...
 
std::string GetAccessTimeAsString () const
 Get change time. More...
 
uint64_t GetChangeTime () const
 Get change time (in seconds since epoch) More...
 
std::string GetChangeTimeAsString () const
 Get change time. More...
 
const std::string & GetChecksum () const
 Get checksum. More...
 
uint32_t GetFlags () const
 Get flags. More...
 
const std::string & GetGroup () const
 Get group. More...
 
const std::string & GetId () const
 Get id. More...
 
const std::string GetModeAsOctString () const
 Get mode. More...
 
const std::string & GetModeAsString () const
 Get mode. More...
 
uint64_t GetModTime () const
 Get modification time (in seconds since epoch) More...
 
std::string GetModTimeAsString () const
 Get modification time. More...
 
const std::string & GetOwner () const
 Get owner. More...
 
uint64_t GetSize () const
 Get size (in bytes) More...
 
bool HasChecksum () const
 Has checksum. More...
 
bool ParseServerResponse (const char *data)
 Parse server response and fill up the object. More...
 
void SetFlags (uint32_t flags)
 Set flags. More...
 
void SetSize (uint64_t size)
 Set size. More...
 
bool TestFlags (uint32_t flags) const
 Test flags. More...
 

Additional Inherited Members

- Public Types inherited from XrdCl::StatInfo
enum  Flags {
  XBitSet = kXR_xset ,
  IsDir = kXR_isDir ,
  Other = kXR_other ,
  Offline = kXR_offline ,
  POSCPending = kXR_poscpend ,
  IsReadable = kXR_readable ,
  IsWritable = kXR_writable ,
  BackUpExists = kXR_bkpexist
}
 Flags. More...
 

Detailed Description

Definition at line 47 of file XrdClHttpResponses.hh.

Constructor & Destructor Documentation

◆ StatResponse()

XrdClHttp::StatResponse::StatResponse ( const std::string &  id,
uint64_t  size,
uint32_t  flags,
uint64_t  modTime 
)
inline

Definition at line 49 of file XrdClHttpResponses.hh.

50  : XrdCl::StatInfo(id, size, flags, modTime) {}
Object stat info.

Member Function Documentation

◆ GetResponseInfo()

std::unique_ptr<ResponseInfo> XrdClHttp::StatResponse::GetResponseInfo ( )
inline

Definition at line 52 of file XrdClHttpResponses.hh.

52 {return std::move(m_response_info);}

◆ SetResponseInfo()

void XrdClHttp::StatResponse::SetResponseInfo ( std::unique_ptr< ResponseInfo info)
inline

Definition at line 53 of file XrdClHttpResponses.hh.

53 {m_response_info = std::move(info);}

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