|
SNMP++
3.3.4
|
32 bit signed integer class. More...
#include <integer.h>


Public Member Functions | |
| SnmpInt32 (const long i=0) | |
| Constructor with value. More... | |
| SnmpInt32 (const SnmpInt32 &c) | |
| Copy constructor. More... | |
| virtual | ~SnmpInt32 () |
| Destructor (ensure that SnmpSyntax::~SnmpSyntax() is overridden). More... | |
| virtual SmiUINT32 | get_syntax () const |
| Return the syntax. More... | |
| SnmpInt32 & | operator= (const long i) |
| Overloaded assignment for longs. More... | |
| SnmpInt32 & | operator= (const SnmpInt32 &li) |
| Overloaded assignment for SnmpInt32. More... | |
| SnmpSyntax & | operator= (const SnmpSyntax &val) |
| Map other SnmpSyntax objects to SnmpInt32. More... | |
| operator long () const | |
| Behave like an long. More... | |
| const char * | get_printable () const |
| Get a printable ASCII value. More... | |
| SnmpSyntax * | clone () const |
| Clone operator. More... | |
| bool | valid () const |
| Return validity of the object. More... | |
| int | get_asn1_length () const |
| Return the space needed for serialization. More... | |
| void | clear () |
| Reset the object. More... | |
Public Member Functions inherited from SnmpSyntax | |
| virtual | ~SnmpSyntax () |
| Virtual destructor to ensure deletion of derived classes... More... | |
Protected Attributes | |
| bool | valid_flag |
| SNMP_PP_MUTABLE char | output_buffer [INTOUTBUF] |
| SNMP_PP_MUTABLE bool | m_changed |
Protected Attributes inherited from SnmpSyntax | |
| SmiVALUE | smival |
Additional Inherited Members | |
Protected Member Functions inherited from SnmpSyntax | |
| SnmpSyntax () | |
|
inline |
Constructor with value.
| i | - initial value |
Definition at line 220 of file integer.h.
References sNMP_SYNTAX_INT32.
|
inline |
Copy constructor.
| c | - initial value |
Definition at line 234 of file integer.h.
References SnmpSyntax::smival, sNMP_SYNTAX_INT32, SmiVALUE::sNumber, and SmiVALUE::value.
|
inlinevirtual |
Destructor (ensure that SnmpSyntax::~SnmpSyntax() is overridden).
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
Return the space needed for serialization.
Implements SnmpSyntax.
|
virtual |
Get a printable ASCII value.
Implements SnmpSyntax.
|
inlinevirtual |
Return the syntax.
Implements SnmpSyntax.
Definition at line 253 of file integer.h.
References sNMP_SYNTAX_INT32.
|
inline |
|
inline |
Overloaded assignment for SnmpInt32.
| li | - new value |
Definition at line 275 of file integer.h.
References SnmpSyntax::smival, SmiVALUE::sNumber, valid_flag, and SmiVALUE::value.
|
virtual |
Map other SnmpSyntax objects to SnmpInt32.
Implements SnmpSyntax.
|
inlinevirtual |
Return validity of the object.
An SnmpUInt32 will only be invalid after a failed asignment of another SnmpSyntax object.
Implements SnmpSyntax.
|
protected |
|
protected |
|
protected |
Definition at line 329 of file integer.h.
Referenced by operator=().