#include <id.h>
Inheritance diagram for openikev2::ID:

Public Member Functions | |
| ID (Enums::ID_TYPE type, auto_ptr< ByteArray > id_data) | |
| Creates a new ID. | |
| ID (IpAddress &ip_address) | |
| Creates a new ID based on an IP address. | |
| ID (Enums::ID_TYPE type, string id_data) | |
| Creates a new ID based on a string (to be used with all the textual ID types). | |
| ID (const ID &other) | |
| Creates a new ID cloning another one. | |
| bool | operator== (const ID &other) const |
| Indicates if this ID is equals to another. | |
| auto_ptr< ID > | clone () const |
| Creates a clone of this ID. | |
| virtual string | toStringTab (uint8_t tabs) const |
| Construct a textual representation of the object, preceded of a num of tabs of size TAB_SIZE. | |
Public Attributes | |
| Enums::ID_TYPE | id_type |
| Type of identification data. | |
| auto_ptr< ByteArray > | id_data |
| Identification data. | |
| openikev2::ID::ID | ( | Enums::ID_TYPE | type, | |
| auto_ptr< ByteArray > | id_data | |||
| ) |
| openikev2::ID::ID | ( | IpAddress & | ip_address | ) |
| openikev2::ID::ID | ( | Enums::ID_TYPE | type, | |
| string | id_data | |||
| ) |
| openikev2::ID::ID | ( | const ID & | other | ) |
| bool openikev2::ID::operator== | ( | const ID & | other | ) | const |
| string openikev2::ID::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