#include <transformattribute.h>
Inheritance diagram for openikev2::TransformAttribute:

Public Member Functions | |
| TransformAttribute (Enums::ATTRIBUTE_TYPE type, uint16_t TVvalue) | |
| Creates a new TransformAttribute, in TV format. | |
| TransformAttribute (Enums::ATTRIBUTE_TYPE type, auto_ptr< ByteArray > TLVvalue) | |
| Creates a new TransformAttribute, in TLV format. | |
| TransformAttribute (ByteBuffer &byte_buffer) | |
| Creates a new TransformAttribute based on its binary representation. | |
| virtual void | getBinaryRepresentation (ByteBuffer &byte_buffer) const |
| Appends the binary representation of the transform in the ByteBuffer. | |
| virtual auto_ptr< TransformAttribute > | clone () const |
| Clones this TransformAttribute. | |
| virtual bool | operator== (const TransformAttribute &other) const |
| Compares if this TransformAttribute object is equal to other. | |
| 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 | |
| auto_ptr< ByteArray > | TLVvalue |
| Attribute value (when using TLV format). | |
| uint16_t | TVvalue |
| Attribute value (when using TV format). | |
| bool | isTV |
| Attribute format (TLV or TV). | |
| Enums::ATTRIBUTE_TYPE | type |
| Attribute type. | |
| openikev2::TransformAttribute::TransformAttribute | ( | Enums::ATTRIBUTE_TYPE | type, | |
| uint16_t | TVvalue | |||
| ) |
Creates a new TransformAttribute, in TV format.
| openikev2::TransformAttribute::TransformAttribute | ( | Enums::ATTRIBUTE_TYPE | type, | |
| auto_ptr< ByteArray > | TLVvalue | |||
| ) |
Creates a new TransformAttribute, in TLV format.
| openikev2::TransformAttribute::TransformAttribute | ( | ByteBuffer & | byte_buffer | ) |
Creates a new TransformAttribute based on its binary representation.
| byte_buffer | Buffer with its read pointer at the begin of a TransformAttribute |
| void openikev2::TransformAttribute::getBinaryRepresentation | ( | ByteBuffer & | byte_buffer | ) | const [virtual] |
Appends the binary representation of the transform in the ByteBuffer.
| byte_buffer | ByteBuffer where append the binary representation |
| auto_ptr< TransformAttribute > openikev2::TransformAttribute::clone | ( | ) | const [virtual] |
| bool openikev2::TransformAttribute::operator== | ( | const TransformAttribute & | other | ) | const [virtual] |
Compares if this TransformAttribute object is equal to other.
| other | The other TransformAttribute |
| string openikev2::TransformAttribute::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