XrdSecEntityAttr Class Reference
#include <XrdSecEntityAttr.hh>
List of all members.
Constructor & Destructor Documentation
Constructor and Destructor.
- Parameters:
-
| xtra | - Pointer to the data for the implementation. |
XrdSecEntityAttr::~XrdSecEntityAttr |
( |
|
) |
[inline] |
Member Function Documentation
bool XrdSecEntityAttr::Add |
( |
const std::string & |
key, |
|
|
const std::string & |
val, |
|
|
bool |
replace = false | |
|
) |
| | |
Add a key-value attribute to this entity. If one exists it is replaced.
- Parameters:
-
| key | - Reference to the key. |
| val | - Reference to the value. |
| replace | - When true, any existing key-value is replaced. Otherwise, the add is not performed. |
- Returns:
- True, the key-value was added or replaced.
-
False, the key already exists so he value was not added.
Add an attribute object to this entity.
- Parameters:
-
| attr | - Reference to the attribute object. |
- Returns:
- True, the object was added.
-
False, the object was not added because such an object exists.
bool XrdSecEntityAttr::Get |
( |
const std::string & |
key, |
|
|
std::string & |
val | |
|
) |
| | |
Get an attribute key value associated with this entity.
- Parameters:
-
| key | - The reference to the key. |
| val | - The reference to the string object to receive the value. |
- Returns:
- Upon success true is returned. If the key does not exist, false is returned and the val object remains unchanged.
XrdSecAttr* XrdSecEntityAttr::Get |
( |
const void * |
sigkey |
) |
|
Get an attribute object associated with this entity.
- Parameters:
-
| sigkey | - A unique attribute object signature key. |
- Returns:
- Upon success a pointer to the attribute object is returned. Otherwise, a nil pointer is returned.
std::vector<std::string> XrdSecEntityAttr::Keys |
( |
|
) |
|
Get all the keys for associated attribytes.
- Returns:
- A vector containing all of the keys.
List key-value pairs via iterative callback on passed ovject.
- Parameters:
-
| attrCB | - Reference to the callback object to receive list entries. |
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following file: