![]() |
XRootD
|
Path location info. More...
#include <XrdClXRootDResponses.hh>
Classes | |
class | Location |
Location. More... | |
Public Types | |
enum | AccessType { Read , ReadWrite } |
Describes the allowed access type for the file at given location. More... | |
typedef LocationList::const_iterator | ConstIterator |
Iterator over locations. More... | |
typedef LocationList::iterator | Iterator |
Iterator over locations. More... | |
typedef std::vector< Location > | LocationList |
List of locations. More... | |
enum | LocationType { ManagerOnline , ManagerPending , ServerOnline , ServerPending } |
Describes the node type and file status for a given location. More... | |
Public Member Functions | |
LocationInfo () | |
Constructor. More... | |
void | Add (const Location &location) |
Add a location. 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... | |
uint32_t | GetSize () const |
Get number of locations. More... | |
bool | ParseServerResponse (const char *data) |
Parse server response and fill up the object. More... | |
Path location info.
Definition at line 43 of file XrdClXRootDResponses.hh.
typedef LocationList::const_iterator XrdCl::LocationInfo::ConstIterator |
Iterator over locations.
Definition at line 142 of file XrdClXRootDResponses.hh.
typedef LocationList::iterator XrdCl::LocationInfo::Iterator |
Iterator over locations.
Definition at line 137 of file XrdClXRootDResponses.hh.
typedef std::vector<Location> XrdCl::LocationInfo::LocationList |
List of locations.
Definition at line 132 of file XrdClXRootDResponses.hh.
Describes the allowed access type for the file at given location.
Enumerator | |
---|---|
Read | read access is allowed |
ReadWrite | write access is allowed |
Definition at line 60 of file XrdClXRootDResponses.hh.
Describes the node type and file status for a given location.
Definition at line 49 of file XrdClXRootDResponses.hh.
XrdCl::LocationInfo::LocationInfo | ( | ) |
|
inline |
Add a location.
Definition at line 200 of file XrdClXRootDResponses.hh.
Referenced by XrdCl::ServerSpaceInfo::SelectLocations().
|
inline |
Get the location at index.
Definition at line 160 of file XrdClXRootDResponses.hh.
Referenced by XrdCl::FileSystem::DirList(), XrdCl::ServerSpaceInfo::SelectLocations(), and XrdFfsPosix_mkdir().
|
inline |
Get the location begin iterator.
Definition at line 168 of file XrdClXRootDResponses.hh.
Referenced by DoLocate(), XrdPosixAdmin::FanOut(), and XrdCl::FileSystemUtils::GetSpaceInfo().
|
inline |
Get the location begin iterator.
Definition at line 176 of file XrdClXRootDResponses.hh.
|
inline |
Get the location end iterator.
Definition at line 184 of file XrdClXRootDResponses.hh.
Referenced by DoLocate(), XrdPosixAdmin::FanOut(), and XrdCl::FileSystemUtils::GetSpaceInfo().
|
inline |
Get the location end iterator.
Definition at line 192 of file XrdClXRootDResponses.hh.
|
inline |
Get number of locations.
Definition at line 152 of file XrdClXRootDResponses.hh.
Referenced by XrdCl::FileSystem::DirList(), XrdPosixAdmin::FanOut(), and XrdCl::ServerSpaceInfo::SelectLocations().
bool XrdCl::LocationInfo::ParseServerResponse | ( | const char * | data | ) |
Parse server response and fill up the object.
Definition at line 38 of file XrdClXRootDResponses.cc.
References XrdCl::Utils::splitString().