AgentXcpp  Revision:0.2
Internals Documentation
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Pages
agentxcpp::AbstractValue Class Reference

This class represents a value. More...

#include <AbstractValue.hpp>

Inheritance diagram for agentxcpp::AbstractValue:
Collaboration diagram for agentxcpp::AbstractValue:

Public Member Functions

virtual binary serialize () const =0
 Serialize the value.
virtual ~AbstractValue ()
 Destructor.

Detailed Description

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.

Constructor & Destructor Documentation

virtual agentxcpp::AbstractValue::~AbstractValue ( )
inlinevirtual

Destructor.

The default implementation of this desctructor is empty.

Definition at line 54 of file AbstractValue.hpp.

Member Function Documentation

virtual binary agentxcpp::AbstractValue::serialize ( ) const
pure virtual

Serialize the value.

This function must be implemented by all derived classes. The function shall generate a serialized form of the value.

Returns
The serialized form of the value.
Exceptions
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.


The documentation for this class was generated from the following file: