xrootd
|
Path location info. More...
#include <XrdClXRootDResponses.hh>
Classes | |
class | Location |
Location. More... | |
Public Types | |
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... | |
typedef std::vector< Location > | LocationList |
List of locations. More... | |
typedef LocationList::iterator | Iterator |
Iterator over locations. More... | |
typedef LocationList::const_iterator | ConstIterator |
Iterator over locations. More... | |
Public Member Functions | |
LocationInfo () | |
Constructor. More... | |
uint32_t | GetSize () const |
Get number of locations. More... | |
Location & | At (uint32_t index) |
Get the location at index. More... | |
Iterator | Begin () |
Get the location begin iterator. More... | |
ConstIterator | Begin () const |
Get the location begin iterator. More... | |
Iterator | End () |
Get the location end iterator. More... | |
ConstIterator | End () const |
Get the location end iterator. More... | |
void | Add (const Location &location) |
Add a location. More... | |
bool | ParseServerResponse (const char *data) |
Parse server response and fill up the object. More... | |
Private Member Functions | |
bool | ProcessLocation (std::string &location) |
Private Attributes | |
LocationList | pLocations |
Path location info.
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.
Describes the node type and file status for a given location.
XrdCl::LocationInfo::LocationInfo | ( | ) |
Constructor.
|
inline |
|
inline |
|
inline |
Get the location begin iterator.
References pLocations.
Referenced by XrdCl::EcHandler::LoadPlacement().
|
inline |
Get the location begin iterator.
References pLocations.
|
inline |
Get the location end iterator.
References pLocations.
Referenced by XrdCl::EcHandler::LoadPlacement().
|
inline |
Get the location end iterator.
References pLocations.
|
inline |
bool XrdCl::LocationInfo::ParseServerResponse | ( | const char * | data | ) |
Parse server response and fill up the object.
|
private |
|
private |