This class represents a value. More...
#include <AbstractValue.hpp>
Public Member Functions | |
| virtual binary | serialize () const =0 |
| Serialize the value. | |
| virtual | ~AbstractValue () |
| Destructor. | |
This class represents a value.
This class is used as base class for the specific value types (such as OctetStringValue or IntegerValue).
Definition at line 32 of file AbstractValue.hpp.
|
inlinevirtual |
Destructor.
The default implementation of this desctructor is empty.
Definition at line 54 of file AbstractValue.hpp.
|
pure virtual |
Serialize the value.
This function must be implemented by all derived classes. The function shall generate a serialized form of the value.
| None,: | The function shall not throw. |
Implemented in agentxcpp::OidValue, agentxcpp::Counter32Value, agentxcpp::Gauge32Value, agentxcpp::Counter64Value, agentxcpp::TimeTicksValue, agentxcpp::IpAddressValue, agentxcpp::IntegerValue, agentxcpp::OpaqueValue, and agentxcpp::OctetStringValue.