XrdCl::LocationInfo Class Reference

Path location info. More...

#include <XrdClXRootDResponses.hh>

List of all members.

Public Types

typedef std::vector< LocationLocationList
 List of locations.
typedef LocationList::iterator Iterator
 Iterator over locations.
typedef LocationList::const_iterator ConstIterator
 Iterator over locations.
 ManagerOnline
 manager node where the file is online
 ManagerPending
 manager node where the file is pending to be online
 ServerOnline
 server node where the file is online
 ServerPending
 server node where the file is pending to be online
 Read
 read access is allowed
 ReadWrite
 write access is allowed
enum  LocationType { ManagerOnline, ManagerPending, ServerOnline, ServerPending }
 Describes the node type and file status for a given location. More...
enum  AccessType { Read, ReadWrite }
 Describes the allowed access type for the file at given location. More...

Public Member Functions

 LocationInfo ()
 Constructor.
uint32_t GetSize () const
 Get number of locations.
LocationAt (uint32_t index)
 Get the location at index.
Iterator Begin ()
 Get the location begin iterator.
ConstIterator Begin () const
 Get the location begin iterator.
Iterator End ()
 Get the location end iterator.
ConstIterator End () const
 Get the location end iterator.
void Add (const Location &location)
 Add a location.
bool ParseServerResponse (const char *data)
 Parse server response and fill up the object.

Private Member Functions

bool ProcessLocation (std::string &location)

Private Attributes

LocationList pLocations

Classes

class  Location
 Location. More...


Detailed Description

Path location info.


Member Typedef Documentation

typedef LocationList::const_iterator XrdCl::LocationInfo::ConstIterator

Iterator over locations.

typedef LocationList::iterator XrdCl::LocationInfo::Iterator

Iterator over locations.

typedef std::vector<Location> XrdCl::LocationInfo::LocationList

List of locations.


Member Enumeration Documentation

enum XrdCl::LocationInfo::AccessType

Describes the allowed access type for the file at given location.

Enumerator:
Read  read access is allowed
ReadWrite  write access is allowed

enum XrdCl::LocationInfo::LocationType

Describes the node type and file status for a given location.

Enumerator:
ManagerOnline  manager node where the file is online
ManagerPending  manager node where the file is pending to be online
ServerOnline  server node where the file is online
ServerPending  server node where the file is pending to be online


Constructor & Destructor Documentation

XrdCl::LocationInfo::LocationInfo (  ) 

Constructor.


Member Function Documentation

void XrdCl::LocationInfo::Add ( const Location location  )  [inline]

Add a location.

Location& XrdCl::LocationInfo::At ( uint32_t  index  )  [inline]

Get the location at index.

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

Get the location begin iterator.

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

Get the location begin iterator.

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

Get the location end iterator.

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

Get the location end iterator.

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

Get number of locations.

bool XrdCl::LocationInfo::ParseServerResponse ( const char *  data  ) 

Parse server response and fill up the object.

bool XrdCl::LocationInfo::ProcessLocation ( std::string &  location  )  [private]


Member Data Documentation

LocationList XrdCl::LocationInfo::pLocations [private]


The documentation for this class was generated from the following file:
Generated on 12 Dec 2014 for xrootd by  doxygen 1.4.7