|
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 () | |
| 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... | |
| void | SetParentName (const std::string &parent) |
| Set name of the parent directory. More... | |
| bool | ParseServerResponse (const std::string &hostId, const char *data) |
| Parse server response and fill up the object. More... | |
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 | ( | ) |
Constructor.
| XrdCl::DirectoryList::~DirectoryList | ( | ) |
Destructor.
|
inline |
Add an entry to the list - takes ownership.
|
inline |
Get an entry at given index.
|
inline |
Get the begin iterator.
|
inline |
Get the begin iterator.
|
inline |
Get the end iterator.
|
inline |
Get the end iterator.
|
inline |
Get parent directory name.
|
inline |
Get the size of the listing.
| bool XrdCl::DirectoryList::ParseServerResponse | ( | const std::string & | hostId, |
| const char * | data | ||
| ) |
Parse server response and fill up the object.
|
inline |
Set name of the parent directory.
References XrdCl::LocationInfo::ParseServerResponse().
|
private |
|
private |
1.8.11