#include <attributemap.h>
Inheritance diagram for openikev2::AttributeMap:

Public Member Functions | |
| AttributeMap () | |
| Creates a new empty attribute map. | |
| virtual bool | addAttribute (string key, auto_ptr< Attribute > attribute) |
| Adds an attribute to the AttributeMap. | |
| virtual Attribute * | getAttribute (string key) |
| Gets an Attribute by its name. | |
| virtual void | deleteAttribute (string key) |
| Deletes the Attribute with the indicated name. | |
| virtual auto_ptr< AttributeMap > | clone () const |
| Creates a new AttributeMap exactly equals to this one, with the same attributes inside. | |
| virtual string | toStringTab (uint8_t tabs) const |
| Construct a textual representation of the object, preceded of a num of tabs of size TAB_SIZE. | |
Protected Attributes | |
| map< string, Attribute * > | attribute_map |
| Attribute map. | |
..)
| bool openikev2::AttributeMap::addAttribute | ( | string | key, | |
| auto_ptr< Attribute > | attribute | |||
| ) | [virtual] |
Adds an attribute to the AttributeMap.
| key | Name of the attribute to be added | |
| attribute | Attribute to be added |
| Attribute * openikev2::AttributeMap::getAttribute | ( | string | key | ) | [virtual] |
Gets an Attribute by its name.
| key | Name of the attribute to be obtained |
| void openikev2::AttributeMap::deleteAttribute | ( | string | key | ) | [virtual] |
| auto_ptr< AttributeMap > openikev2::AttributeMap::clone | ( | ) | const [virtual] |
Creates a new AttributeMap exactly equals to this one, with the same attributes inside.
| string openikev2::AttributeMap::toStringTab | ( | uint8_t | tabs | ) | const [virtual] |
Construct a textual representation of the object, preceded of a num of tabs of size TAB_SIZE.
| tabs | Num of tabs preceding the textual representation. |
Implements openikev2::Printable.
1.5.1