|
SNMP++
3.3.11
|
#include <oid_def.h>


Public Member Functions | |
| DLLOPT | linkUpOid () |
Public Member Functions inherited from snmpTrapsOid | |
| DLLOPT | snmpTrapsOid () |
Public Member Functions inherited from Oid | |
| Oid () | |
| Construct an invalid Oid. More... | |
| Oid (const char *oid_string, const bool is_dotted_oid_string=true) | |
| Construct an Oid from a string. More... | |
| Oid (const Oid &oid) | |
| Constructor using another oid object (copy constructor). More... | |
| Oid (const unsigned long *raw_oid, int oid_len) | |
| Constructor from array. More... | |
| virtual | ~Oid () |
| Destructor. More... | |
| SmiUINT32 | get_syntax () const |
| Return the current syntax. More... | |
| virtual Oid & | operator= (const char *dotted_oid_string) |
| Assignment from a string. More... | |
| virtual Oid & | operator= (const Oid &oid) |
| Assign one Oid to another. More... | |
| int | get_asn1_length () const |
| Return the space needed for serialization. More... | |
| bool | operator== (const Oid &rhs) const |
| Overloaded equal operator. More... | |
| bool | operator!= (const Oid &rhs) const |
| Overloaded not equal operator. More... | |
| bool | operator< (const Oid &rhs) const |
| Overloaded less than < operator. More... | |
| bool | operator<= (const Oid &rhs) const |
| Overloaded less than <= operator. More... | |
| bool | operator> (const Oid &rhs) const |
| Overloaded greater than > operator. More... | |
| bool | operator>= (const Oid &rhs) const |
| Overloaded greater than >= operator. More... | |
| Oid & | operator+= (const char *a) |
| Append operator, appends the dotted oid string. More... | |
| Oid & | operator+= (const unsigned long i) |
| Appends an int. More... | |
| Oid & | operator+= (const Oid &o) |
| Appends an Oid. More... | |
| unsigned long & | operator[] (const unsigned int index) |
| Allows element access as an array. More... | |
| unsigned long | operator[] (const unsigned int index) const |
| Allows element access as an array for const objects. More... | |
| SmiLPOID | oidval () |
| Get the WinSnmp oid part. More... | |
| void | set_data (const unsigned long *raw_oid, const unsigned int oid_len) |
| Set the data from raw form. More... | |
| void | set_data (const char *str, const unsigned int str_len) |
| Set the data from raw form. More... | |
| unsigned long | len () const |
| Get the length of the oid. More... | |
| void | trim (const unsigned long n=1) |
| Trim off the rightmost values of an oid. More... | |
| int | nCompare (const unsigned long n, const Oid &o) const |
| Compare two Oids from the left in direction left-to-right. More... | |
| int | nCompare (const Oid &o) const |
| Compare two Oids from the left in direction left-to-right. More... | |
| bool | valid () const |
| Return validity of the object. More... | |
| const char * | get_printable () const |
| Get a printable ASCII string of the whole value. More... | |
| const char * | get_printable (const unsigned long n) const |
| Get a printable ASCII string of the right part of the value. More... | |
| const char * | get_printable (const unsigned long start, const unsigned long n, char *&buffer) const |
| Get a printable ASCII string of a part of the value. More... | |
| const char * | get_printable (const unsigned long start, const unsigned long n) const |
| Get a printable ASCII string of a part of the value. More... | |
| SnmpSyntax * | clone () const |
| Clone this object. More... | |
| SnmpSyntax & | operator= (const SnmpSyntax &val) |
| Map other SnmpSyntax objects to Oid. More... | |
| void | clear () |
| Clear the Oid. More... | |
Public Member Functions inherited from SnmpSyntax | |
| virtual | ~SnmpSyntax () |
| Virtual destructor to ensure deletion of derived classes... More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Oid | |
| virtual int | StrToOid (const char *string, SmiLPOID dstOid) const |
| Convert a string to an smi oid. More... | |
| virtual int | OidCopy (SmiLPOID srcOid, SmiLPOID dstOid) const |
| Clone an smi oid. More... | |
| virtual int | OidToStr (const SmiOID *srcOid, SmiUINT32 size, char *string) const |
| Convert an smi oid to its string representation. More... | |
| void | delete_oid_ptr () |
| Free the internal oid pointer and set the pointer and the length to zero. More... | |
Protected Member Functions inherited from SnmpSyntax | |
| SnmpSyntax () | |
Protected Attributes inherited from Oid | |
| SNMP_PP_MUTABLE char * | iv_str |
| SNMP_PP_MUTABLE char * | iv_part_str |
| SNMP_PP_MUTABLE bool | m_changed |
Protected Attributes inherited from SnmpSyntax | |
| SmiVALUE | smival |