XRootD
Loading...
Searching...
No Matches
XrdClHttp::DirectoryListResponse Class Reference

#include <XrdClHttpResponses.hh>

Inheritance diagram for XrdClHttp::DirectoryListResponse:
Collaboration diagram for XrdClHttp::DirectoryListResponse:

Public Member Functions

std::unique_ptr< ResponseInfoGetResponseInfo ()
void SetResponseInfo (std::unique_ptr< ResponseInfo > info)
Public Member Functions inherited from XrdCl::DirectoryList
 DirectoryList ()
 Constructor.
virtual ~DirectoryList ()
 Destructor.
void Add (ListEntry *entry)
 Add an entry to the list - takes ownership.
ListEntryAt (uint32_t index)
 Get an entry at given index.
Iterator Begin ()
 Get the begin iterator.
ConstIterator Begin () const
 Get the begin iterator.
Iterator End ()
 Get the end iterator.
ConstIterator End () const
 Get the end iterator.
const std::string & GetParentName () const
 Get parent directory name.
uint32_t GetSize () const
 Get the size of the listing.
bool ParseServerResponse (const std::string &hostId, const char *data)
 Parse server response and fill up the object.
bool ParseServerResponse (const std::string &hostId, const char *data, bool isDStat)
 Parse chunked server response and fill up the object.
void SetParentName (const std::string &parent)
 Set name of the parent directory.

Additional Inherited Members

Public Types inherited from XrdCl::DirectoryList
typedef DirList::const_iterator ConstIterator
 Directory listing const iterator.
typedef std::vector< ListEntry * > DirList
 Directory listing.
typedef DirList::iterator Iterator
 Directory listing iterator.
Static Public Member Functions inherited from XrdCl::DirectoryList
static bool HasStatInfo (const char *data)
 Returns true if data contain stat info.

Detailed Description

Definition at line 35 of file XrdClHttpResponses.hh.

Member Function Documentation

◆ GetResponseInfo()

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

Definition at line 37 of file XrdClHttpResponses.hh.

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

◆ SetResponseInfo()

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

Definition at line 38 of file XrdClHttpResponses.hh.

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

Referenced by XrdClHttp::CurlListdirOp::Success().

Here is the caller graph for this function:

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