![]() |
XRootD
|
A key-value pair map storing both keys and values as strings. More...
#include <XrdClPropertyList.hh>
Public Types | |
typedef std::map< std::string, std::string > | PropertyMap |
Public Member Functions | |
PropertyMap::const_iterator | begin () const |
Get the begin iterator. More... | |
void | Clear () |
Clear the property list. More... | |
PropertyMap::const_iterator | end () const |
Get the end iterator. More... | |
template<typename Item > | |
Item | Get (const std::string &name) const |
template<> | |
XRootDStatus | Get (const std::string &name) const |
template<typename Item > | |
bool | Get (const std::string &name, Item &item) const |
template<typename Item > | |
Item | Get (const std::string &name, uint32_t index) const |
template<typename Item > | |
bool | Get (const std::string &name, uint32_t index, Item &item) const |
template<> | |
bool | Get (const std::string &name, URL &item) const |
template<> | |
bool | Get (const std::string &name, XRootDStatus &item) const |
bool | HasProperty (const std::string &name) const |
Check if we now about the given name. More... | |
bool | HasProperty (const std::string &name, uint32_t index) const |
Check if we know about the given name and index. More... | |
template<typename Item > | |
void | Set (const std::string &name, const Item &value) |
template<> | |
void | Set (const std::string &name, const URL &item) |
template<> | |
void | Set (const std::string &name, const XRootDStatus &item) |
template<typename Item > | |
void | Set (const std::string &name, uint32_t index, const Item &value) |
A key-value pair map storing both keys and values as strings.
Definition at line 40 of file XrdClPropertyList.hh.
typedef std::map<std::string, std::string> XrdCl::PropertyList::PropertyMap |
Definition at line 43 of file XrdClPropertyList.hh.
|
inline |
Get the begin iterator.
Definition at line 160 of file XrdClPropertyList.hh.
Referenced by XrdCl::CopyProcess::AddJob(), and XrdCl::Utils::LogPropertyList().
|
inline |
Clear the property list.
Definition at line 176 of file XrdClPropertyList.hh.
|
inline |
Get the end iterator.
Definition at line 168 of file XrdClPropertyList.hh.
Referenced by XrdCl::CopyProcess::AddJob(), and XrdCl::Utils::LogPropertyList().
|
inline |
Get the value associated with a name
Definition at line 84 of file XrdClPropertyList.hh.
|
inline |
Definition at line 249 of file XrdClPropertyList.hh.
References Get().
|
inline |
Get the value associated with a name
Definition at line 65 of file XrdClPropertyList.hh.
Referenced by XrdCl::CopyProcess::AddJob(), ProgressDisplay::EndJob(), Get(), XrdCl::CopyJob::Init(), XrdCl::CopyProcess::Prepare(), XrdCl::CopyProcess::Run(), XrdCl::ClassicCopyJob::Run(), and XrdCl::TPFallBackCopyJob::Run().
|
inline |
Get the value associated with a key and an index
Definition at line 132 of file XrdClPropertyList.hh.
|
inline |
Get the value associated with a key and an index
Definition at line 119 of file XrdClPropertyList.hh.
References Get().
|
inline |
Definition at line 272 of file XrdClPropertyList.hh.
References Get().
|
inline |
Definition at line 227 of file XrdClPropertyList.hh.
References XrdCl::Status::code, XrdCl::Status::errNo, Get(), XrdCl::XRootDStatus::SetErrorMessage(), and XrdCl::Status::status.
|
inline |
Check if we now about the given name.
Definition at line 142 of file XrdClPropertyList.hh.
Referenced by XrdCl::CopyProcess::AddJob(), HasProperty(), XrdCl::CopyProcess::Prepare(), and XrdCl::CopyProcess::Run().
|
inline |
Check if we know about the given name and index.
Definition at line 150 of file XrdClPropertyList.hh.
References HasProperty().
|
inline |
Associate a value with a key
name | must not contain spaces |
value | needs to be convertible to std::string |
Definition at line 52 of file XrdClPropertyList.hh.
Referenced by XrdCl::CopyProcess::AddJob(), main(), XrdCl::CopyProcess::Prepare(), XrdCl::ClassicCopyJob::Run(), XrdCl::ThirdPartyCopyJob::Run(), and Set().
|
inline |
Definition at line 262 of file XrdClPropertyList.hh.
References XrdCl::URL::GetURL(), and Set().
|
inline |
Definition at line 214 of file XrdClPropertyList.hh.
References XrdCl::Status::code, XrdCl::Status::errNo, XrdCl::XRootDStatus::GetErrorMessage(), Set(), and XrdCl::Status::status.
|
inline |
Set a value with a name and an index
name | must not contain spaces |
index | |
value | must be convertible to std::string |
Definition at line 106 of file XrdClPropertyList.hh.
References Set().