|
xrootd
|
Directory list. More...
#include <XrdClXRootDResponses.hh>

Classes | |
| class | ListEntry |
| Directory entry. More... | |
Public Types | |
| typedef std::vector< ListEntry * > | DirList |
| Directory listing. More... | |
| typedef DirList::iterator | Iterator |
| Directory listing iterator. More... | |
| typedef DirList::const_iterator | ConstIterator |
| Directory listing const iterator. More... | |
Public Member Functions | |
| DirectoryList (const std::string &hostID, const std::string &parent, const char *data) | |
| 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... | |
| uint32_t | GetSize () const |
| Get the size of the listing. More... | |
| const std::string & | GetParentName () const |
| Get parent directory name. More... | |
Private Member Functions | |
| void | ParseServerResponse (const std::string &hostId, const char *data) |
Private Attributes | |
| DirList | pDirList |
| std::string | pParent |
Directory list.
| typedef DirList::const_iterator XrdCl::DirectoryList::ConstIterator |
Directory listing const iterator.
| typedef std::vector<ListEntry*> XrdCl::DirectoryList::DirList |
Directory listing.
| typedef DirList::iterator XrdCl::DirectoryList::Iterator |
Directory listing iterator.
| XrdCl::DirectoryList::DirectoryList | ( | const std::string & | hostID, |
| const std::string & | parent, | ||
| const char * | data | ||
| ) |
Constructor.
References parent(), ParseServerResponse(), and pParent.
| XrdCl::DirectoryList::~DirectoryList | ( | ) |
Destructor.
References pDirList.
|
inline |
Add an entry to the list - takes ownership.
References pDirList.
Referenced by XrdCl::FileSystem::DirList(), and ParseServerResponse().
|
inline |
|
inline |
Get the begin iterator.
References pDirList.
Referenced by XrdCl::FileSystem::DirList(), and DoLS().
|
inline |
Get the begin iterator.
References pDirList.
|
inline |
|
inline |
Get the end iterator.
References pDirList.
|
inline |
Get parent directory name.
References pParent.
Referenced by XrdCl::FileSystem::DirList(), and DoLS().
|
inline |
|
private |
References Add(), and XrdCl::Utils::splitString().
Referenced by DirectoryList().
|
private |
|
private |
Referenced by DirectoryList(), and GetParentName().
1.8.3.1