Yate
|
#include <yateasn.h>
Public Types | |
enum | Access { notAccessible = 0, accessibleForNotify = 1, readOnly = 2, readWrite = 3, readCreate = 4 } |
Public Member Functions | |
AsnMib () | |
AsnMib (NamedList ¶ms) | |
~AsnMib () | |
String & | getAccess () |
int | getAccessValue () |
String & | getName () |
String | getOID () |
String & | getType () |
String & | getRevision () |
const String & | toString () const |
void | setIndex (unsigned int ind) |
unsigned int | index () |
int | compareTo (AsnMib *mib) |
String | getParent () |
Class describing an ASN.1 OID
enum Access |
Access levels
AsnMib | ( | ) | [inline] |
Constructor
Constructor
params | NamedList containing data for building this object, it should contain name, access level, value type |
~AsnMib | ( | ) | [inline] |
Destructor
Compare this object ID with another
mib | The object ID with which this object should be compared |
Get OID access level in string form
int getAccessValue | ( | ) | [inline] |
Get OID access level
Get the parent object ID of this object
References String::rfind().
String& getRevision | ( | ) | [inline] |
Get the revision of this OID
Get the type of the value of this OID
unsigned int index | ( | ) | [inline] |
Obtain the index of this OID
void setIndex | ( | unsigned int | ind | ) | [inline] |
Set the index of an OID in case this OID is part of a table.
ind | Given index |