|
XRootD
|
Directory list. More...
#include <XrdClXRootDResponses.hh>
Collaboration diagram for XrdCl::DirectoryList:Classes | |
| class | ListEntry |
| Directory entry. More... | |
Public Types | |
| typedef DirList::const_iterator | ConstIterator |
| Directory listing const iterator. More... | |
| typedef std::vector< ListEntry * > | DirList |
| Directory listing. More... | |
| typedef DirList::iterator | Iterator |
| Directory listing iterator. More... | |
Public Member Functions | |
| DirectoryList () | |
| Constructor. More... | |
| ~DirectoryList () | |
| Destructor. More... | |
| void | Add (ListEntry *entry) |
| Add an entry to the list - takes ownership. More... | |
| ListEntry * | At (uint32_t index) |
| Get an entry at given index. More... | |
| Iterator | Begin () |
| Get the begin iterator. More... | |
| ConstIterator | Begin () const |
| Get the begin iterator. More... | |
| Iterator | End () |
| Get the end iterator. More... | |
| ConstIterator | End () const |
| Get the end iterator. More... | |
| const std::string & | GetParentName () const |
| Get parent directory name. More... | |
| uint32_t | GetSize () const |
| Get the size of the listing. More... | |
| bool | ParseServerResponse (const std::string &hostId, const char *data) |
| Parse server response and fill up the object. More... | |
| bool | ParseServerResponse (const std::string &hostId, const char *data, bool isDStat) |
| Parse chunked server response and fill up the object. More... | |
| void | SetParentName (const std::string &parent) |
| Set name of the parent directory. More... | |
Static Public Member Functions | |
| static bool | HasStatInfo (const char *data) |
| Returns true if data contain stat info. More... | |
Directory list.
Definition at line 650 of file XrdClXRootDResponses.hh.
| typedef DirList::const_iterator XrdCl::DirectoryList::ConstIterator |
Directory listing const iterator.
Definition at line 757 of file XrdClXRootDResponses.hh.
| typedef std::vector<ListEntry*> XrdCl::DirectoryList::DirList |
Directory listing.
Definition at line 747 of file XrdClXRootDResponses.hh.
| typedef DirList::iterator XrdCl::DirectoryList::Iterator |
Directory listing iterator.
Definition at line 752 of file XrdClXRootDResponses.hh.
| XrdCl::DirectoryList::DirectoryList | ( | ) |
| XrdCl::DirectoryList::~DirectoryList | ( | ) |
Destructor.
Definition at line 521 of file XrdClXRootDResponses.cc.
|
inline |
Add an entry to the list - takes ownership.
Definition at line 762 of file XrdClXRootDResponses.hh.
Referenced by XrdCl::FileSystem::DirList(), XrdCl::ZipArchive::List(), and ParseServerResponse().
Here is the caller graph for this function:
|
inline |
Get an entry at given index.
Definition at line 770 of file XrdClXRootDResponses.hh.
Referenced by XrdCl::FileSystem::DirList(), and XrdPosixDir::nextEntry().
Here is the caller graph for this function:
|
inline |
Get the begin iterator.
Definition at line 778 of file XrdClXRootDResponses.hh.
Referenced by XrdCl::FileSystem::DirList(), DoLS(), and IndexRemote().
Here is the caller graph for this function:
|
inline |
Get the begin iterator.
Definition at line 786 of file XrdClXRootDResponses.hh.
|
inline |
Get the end iterator.
Definition at line 794 of file XrdClXRootDResponses.hh.
Referenced by XrdCl::FileSystem::DirList(), DoLS(), and IndexRemote().
Here is the caller graph for this function:
|
inline |
Get the end iterator.
Definition at line 802 of file XrdClXRootDResponses.hh.
|
inline |
Get parent directory name.
Definition at line 818 of file XrdClXRootDResponses.hh.
Referenced by XrdCl::FileSystem::DirList(), and DoLS().
Here is the caller graph for this function:
|
inline |
Get the size of the listing.
Definition at line 810 of file XrdClXRootDResponses.hh.
Referenced by XrdCl::FileSystem::DirList(), and XrdPosixDir::Open().
Here is the caller graph for this function:
|
static |
Returns true if data contain stat info.
Definition at line 594 of file XrdClXRootDResponses.cc.
Referenced by ParseServerResponse().
Here is the caller graph for this function:| bool XrdCl::DirectoryList::ParseServerResponse | ( | const std::string & | hostId, |
| const char * | data | ||
| ) |
Parse server response and fill up the object.
Definition at line 530 of file XrdClXRootDResponses.cc.
References HasStatInfo().
Here is the call graph for this function:| bool XrdCl::DirectoryList::ParseServerResponse | ( | const std::string & | hostId, |
| const char * | data, | ||
| bool | isDStat | ||
| ) |
Parse chunked server response and fill up the object.
Definition at line 548 of file XrdClXRootDResponses.cc.
References Add(), XrdCl::StatInfo::ParseServerResponse(), XrdCl::DirectoryList::ListEntry::SetStatInfo(), and XrdCl::Utils::splitString().
Here is the call graph for this function:
|
inline |
Set name of the parent directory.
Definition at line 826 of file XrdClXRootDResponses.hh.
References parent().
Referenced by XrdCl::FileSystem::DirList(), and XrdCl::ZipArchive::List().
Here is the call graph for this function:
Here is the caller graph for this function: