AgentXcpp  Revision:0.1.1
API Documentation
 All Classes Functions Variables Friends Pages
agentxcpp::Integer Class Reference

Represents an Integer as descibed in RFC 2741. More...

#include <Integer.hpp>

Inheritance diagram for agentxcpp::Integer:
[legend]

List of all members.

Public Member Functions

virtual int32_t get ()
 Obtain the current value for the object.
- Public Member Functions inherited from agentxcpp::variable
virtual ~variable ()
 Destructor.

Detailed Description

Represents an Integer as descibed in RFC 2741.


Member Function Documentation

virtual int32_t agentxcpp::Integer::get ( )
inlinevirtual

Obtain the current value for the object.

This member function is derived by classes representing SNMP variables and shall return the current value of the object.

The default implementation throws generic_error.

Returns:
The current value of the object.
Exceptions:
generic_errorIf obtaining the current value fails. No other exception shall be thrown.