Represents an Octet String as described in RFC 2741, section 5.3. More...
#include <OctetStringValue.hpp>
Public Member Functions | |
OctetStringValue (binary initial_value) | |
Construct object from binary data. | |
OctetStringValue (std::string initial_value) | |
Construct object from a string. | |
OctetStringValue () | |
Create empty OctetStringValue object. | |
void | set_value (binary new_value) |
Set the current value. | |
void | set_value (std::string new_value) |
Set the current value. | |
binary | get_value () const |
Get the current value. | |
std::string | str () const |
Get the current value as string. | |
![]() | |
virtual | ~AbstractValue () |
Destructor. |
Represents an Octet String as described in RFC 2741, section 5.3.
|
inline |
Construct object from binary data.
OctetStringValue::OctetStringValue | ( | std::string | initial_value | ) |
Construct object from a string.
|
inline |
Create empty OctetStringValue object.
|
inline |
Get the current value.
|
inline |
Set the current value.
void OctetStringValue::set_value | ( | std::string | new_value | ) |
Set the current value.
std::string OctetStringValue::str | ( | ) | const |
Get the current value as string.