#include <sim_mib.h>
Public Member Functions | |
SimMibLeaf () | |
Default constructor. | |
SimMibLeaf (const Oidx &, mib_access, NS_SNMP SmiUINT32) | |
Construct a MibLeaf object. | |
SimMibLeaf (const Oidx &, mib_access, NS_SNMP SnmpSyntax *) | |
Construct a MibLeaf object. | |
SimMibLeaf (const Oidx &, mib_access, NS_SNMP SnmpSyntax *, boolean) | |
Construct a MibLeaf object. | |
SimMibLeaf (const SimMibLeaf &) | |
Copy Constructor. | |
virtual | ~SimMibLeaf () |
Destructor. | |
virtual MibEntryPtr | clone () |
Clone the receiver object. | |
virtual mib_access | get_access () |
Return the maximum access rights for the managed object represented by the receiver node. | |
Static Public Member Functions | |
static void | set_config_mode () |
Set config mode. | |
static void | unset_config_mode () |
Unset config mode. | |
static boolean | get_config_mode () |
Get the current config mode. | |
Static Protected Attributes | |
static boolean | configMode |
SimMibLeaf::SimMibLeaf | ( | ) |
Default constructor.
SimMibLeaf::SimMibLeaf | ( | const Oidx & | , | |
mib_access | , | |||
NS_SNMP | SmiUINT32 | |||
) |
Construct a MibLeaf object.
o | - The object identifier of the managed object. If it is part of a table, only the column subidentifier is given. If it is a scalar object the object identifier given includes the full registration oid including the suffix ".0". | |
a | - The maximum access rights for the managed object. | |
s | - The syntax of the managed object. |
SimMibLeaf::SimMibLeaf | ( | const Oidx & | , | |
mib_access | , | |||
NS_SNMP SnmpSyntax * | ||||
) |
Construct a MibLeaf object.
o | - The object identifier of the managed object. If it is part of a table, only the column subidentifier is given. If it is a scalar object the object identifier given includes the full registration oid including the suffix ".0". | |
a | - The maximum access rights for the managed object. | |
s | - A pointer to the SnmpSyntax object to be used for storing the value of the managed object. NOTE: Do not delete this pointer from outside MibLeaf. It will be deleted by ~MibLeaf |
SimMibLeaf::SimMibLeaf | ( | const Oidx & | , | |
mib_access | , | |||
NS_SNMP SnmpSyntax * | , | |||
boolean | ||||
) |
Construct a MibLeaf object.
o | - The object identifier of the managed object. If it is part of a table, only the column subidentifier is given. If it is a scalar object the object identifier given includes the full registration oid including the suffix ".0". | |
a | - The maximum access rights for the managed object. | |
s | - A pointer to the SnmpSyntax object to be used for storing the value of the managed object. NOTE: Do not delete this pointer from outside MibLeaf. It will be deleted by ~MibLeaf | |
d | - If TRUE the value of the object pointed by s will be used as default value, otherwise the managed object has no default value. |
SimMibLeaf::SimMibLeaf | ( | const SimMibLeaf & | ) |
Copy Constructor.
virtual SimMibLeaf::~SimMibLeaf | ( | ) | [virtual] |
Destructor.
virtual MibEntryPtr SimMibLeaf::clone | ( | ) | [virtual] |
virtual mib_access SimMibLeaf::get_access | ( | ) | [virtual] |
Return the maximum access rights for the managed object represented by the receiver node.
Reimplemented from MibEntry.
static void SimMibLeaf::set_config_mode | ( | ) | [static] |
Set config mode.
All SimMibLeaf objects acting as a leaf object get access rights of read-write and all SimMibLeaf objects acting as a columnar object get read-create access rights.
static void SimMibLeaf::unset_config_mode | ( | ) | [static] |
Unset config mode.
All SimMibLeaf objects get their original access rights (i.e., those rights they got when they have been constructed).
static boolean SimMibLeaf::get_config_mode | ( | ) | [static] |
Get the current config mode.
boolean SimMibLeaf::configMode [static, protected] |