#include <snmp_textual_conventions.h>
Public Member Functions | |
SnmpTagValue (const Oidx &, mib_access, NS_SNMP OctetStr *, int) | |
Construct a SnmpTagValue with initial value. | |
SnmpTagValue (const Oidx &) | |
virtual | ~SnmpTagValue () |
virtual MibEntryPtr | clone () |
Clone the receiver object. | |
virtual boolean | value_ok (const Vbx &) |
Check whether the receiver's value may be set to the given new value. | |
virtual int | prepare_set_request (Request *, int &) |
Let the receiver prepare a SNMP SET subrequest. | |
Static Public Member Functions | |
static boolean | is_delimiter (char) |
SnmpTagValue::SnmpTagValue | ( | const Oidx & | , | |
mib_access | , | |||
NS_SNMP OctetStr * | , | |||
int | ||||
) |
Construct a SnmpTagValue with initial value.
oid | the oid of the leaf or the column of the columnar object. | |
access | the max-access rights for the object. | |
octetstr | a pointer to an OctetStr containing the initial value for the object. | |
valueMode | contains an ored value of one or more of the following modes: VMODE_DEFAULT: the value of the object pointed by value will be used as default value, otherwise the managed object has no default value. VMODE_LOCKED: value is locked (cannot be modified) while the row status of the receiver's row is active(1). This mode has no effect, if the the leaf is a scalar or otherwise if the receiver's row has no snmpRowStatus. |
SnmpTagValue::SnmpTagValue | ( | const Oidx & | ) |
virtual SnmpTagValue::~SnmpTagValue | ( | ) | [virtual] |
virtual MibEntryPtr SnmpTagValue::clone | ( | ) | [virtual] |
virtual boolean SnmpTagValue::value_ok | ( | const Vbx & | ) | [virtual] |
Check whether the receiver's value may be set to the given new value.
v | - A new value. |
Reimplemented from MibLeaf.
virtual int SnmpTagValue::prepare_set_request | ( | Request * | , | |
int & | ||||
) | [virtual] |
Let the receiver prepare a SNMP SET subrequest.
req | - A pointer to the whole SNMP SET request. | |
ind | - The index of the subrequest to be processed. |
Reimplemented from MibLeaf.
static boolean SnmpTagValue::is_delimiter | ( | char | ) | [static] |