XrdCl::DirectoryList Class Reference

Directory list. More...

#include <XrdClXRootDResponses.hh>

List of all members.

Public Types

typedef std::vector< ListEntry * > DirList
 Directory listing.
typedef DirList::iterator Iterator
 Directory listing iterator.
typedef DirList::const_iterator ConstIterator
 Directory listing const iterator.

Public Member Functions

 DirectoryList (const std::string &hostID, const std::string &parent, const char *data)
 Constructor.
 ~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.
uint32_t GetSize () const
 Get the size of the listing.
const std::string & GetParentName () const
 Get parent directory name.

Private Member Functions

void ParseServerResponse (const std::string &hostId, const char *data)

Private Attributes

DirList pDirList
std::string pParent

Classes

class  ListEntry
 Directory entry. More...


Detailed Description

Directory list.


Member Typedef Documentation

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.


Constructor & Destructor Documentation

XrdCl::DirectoryList::DirectoryList ( const std::string &  hostID,
const std::string &  parent,
const char *  data 
)

Constructor.

XrdCl::DirectoryList::~DirectoryList (  ) 

Destructor.


Member Function Documentation

void XrdCl::DirectoryList::Add ( ListEntry entry  )  [inline]

Add an entry to the list - takes ownership.

ListEntry* XrdCl::DirectoryList::At ( uint32_t  index  )  [inline]

Get an entry at given index.

ConstIterator XrdCl::DirectoryList::Begin (  )  const [inline]

Get the begin iterator.

Iterator XrdCl::DirectoryList::Begin (  )  [inline]

Get the begin iterator.

ConstIterator XrdCl::DirectoryList::End (  )  const [inline]

Get the end iterator.

Iterator XrdCl::DirectoryList::End (  )  [inline]

Get the end iterator.

const std::string& XrdCl::DirectoryList::GetParentName (  )  const [inline]

Get parent directory name.

uint32_t XrdCl::DirectoryList::GetSize (  )  const [inline]

Get the size of the listing.

void XrdCl::DirectoryList::ParseServerResponse ( const std::string &  hostId,
const char *  data 
) [private]


Member Data Documentation

DirList XrdCl::DirectoryList::pDirList [private]

std::string XrdCl::DirectoryList::pParent [private]


The documentation for this class was generated from the following file:
Generated on 27 Jul 2013 for xrootd by  doxygen 1.4.7