SNMP++
3.3.11
|
An "abstract" (pure virtual) class that serves as the base class for all specific SNMP syntax types. More...
#include <smival.h>
Public Member Functions | |
virtual const char * | get_printable () const =0 |
Virtual function for getting a printable ASCII value for any SNMP value. More... | |
virtual SmiUINT32 | get_syntax () const =0 |
Return the current syntax. More... | |
virtual SnmpSyntax * | clone () const =0 |
Virtual clone operation for creating a new Value from an existing value. More... | |
virtual | ~SnmpSyntax () |
Virtual destructor to ensure deletion of derived classes... More... | |
virtual SnmpSyntax & | operator= (const SnmpSyntax &val)=0 |
Overloaded assignment operator. More... | |
virtual bool | valid () const =0 |
Return validity of the object. More... | |
virtual int | get_asn1_length () const =0 |
Return the space needed for serialization. More... | |
virtual void | clear ()=0 |
Reset the object. More... | |
Protected Member Functions | |
SnmpSyntax () | |
Protected Attributes | |
SmiVALUE | smival |
An "abstract" (pure virtual) class that serves as the base class for all specific SNMP syntax types.
|
inlinevirtual |
|
pure virtual |
Reset the object.
Implemented in GenAddress, UdpAddress, Oid, IpAddress, OctetStr, SnmpInt32, Address, Counter64, and SnmpUInt32.
|
pure virtual |
Virtual clone operation for creating a new Value from an existing value.
Implemented in GenAddress, UdpAddress, Oid, OpaqueStr, IpAddress, SnmpInt32, OctetStr, Counter64, SnmpUInt32, TimeTicks, Gauge32, and Counter32.
Referenced by Vb::set_value().
|
pure virtual |
Return the space needed for serialization.
Implemented in GenAddress, UdpAddress, IpAddress, SnmpInt32, Address, OctetStr, Oid, Counter64, and SnmpUInt32.
|
pure virtual |
Virtual function for getting a printable ASCII value for any SNMP value.
Implemented in GenAddress, UdpAddress, Oid, IpAddress, SnmpInt32, OctetStr, Counter64, SnmpUInt32, and TimeTicks.
|
pure virtual |
Return the current syntax.
Implemented in GenAddress, UdpAddress, OpaqueStr, IpAddress, SnmpInt32, OctetStr, Oid, Counter64, SnmpUInt32, Gauge32, TimeTicks, and Counter32.
|
pure virtual |
Overloaded assignment operator.
Implemented in GenAddress, UdpAddress, Oid, OpaqueStr, IpAddress, SnmpInt32, OctetStr, Counter64, and SnmpUInt32.
|
pure virtual |
|
protected |
Definition at line 175 of file smival.h.
Referenced by Counter64::Counter64(), Oid::nCompare(), Oid::operator+=(), Counter32::operator=(), Gauge32::operator=(), TimeTicks::operator=(), SnmpUInt32::operator=(), SnmpInt32::operator=(), SnmpInt32::SnmpInt32(), and SnmpUInt32::SnmpUInt32().