AgentXcpp  Revision:0.2
API Documentation
 All Classes Functions Variables Enumerations Enumerator Friends Pages
agentxcpp::OctetStringValue Class Reference

Represents an Octet String as described in RFC 2741, section 5.3. More...

#include <OctetStringValue.hpp>

Inheritance diagram for agentxcpp::OctetStringValue:
[legend]

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.
- Public Member Functions inherited from agentxcpp::AbstractValue
virtual ~AbstractValue ()
 Destructor.

Detailed Description

Represents an Octet String as described in RFC 2741, section 5.3.

Constructor & Destructor Documentation

agentxcpp::OctetStringValue::OctetStringValue ( binary  initial_value)
inline

Construct object from binary data.

OctetStringValue::OctetStringValue ( std::string  initial_value)

Construct object from a string.

agentxcpp::OctetStringValue::OctetStringValue ( )
inline

Create empty OctetStringValue object.

Member Function Documentation

binary agentxcpp::OctetStringValue::get_value ( ) const
inline

Get the current value.

void agentxcpp::OctetStringValue::set_value ( binary  new_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.