#include <snmp_textual_conventions.h>
Public Member Functions | |
SnmpInt32MinMax (const Oidx &, mib_access, const int, int, int, int) | |
Construct a SnmpInt32MinMax with initial value. | |
SnmpInt32MinMax (const Oidx &, mib_access, int, int) | |
Construct a SnmpIn32MinMax without initial value (will be 0). | |
virtual boolean | value_ok (const Vbx &) |
Check whether the receiver's value may be set to the given new value. | |
MibEntryPtr | clone () |
Clone the receiver object. | |
int | get_state () |
void | set_state (int) |
This object contains a integer value. The range of possible values can be set.
SnmpInt32MinMax::SnmpInt32MinMax | ( | const Oidx & | , | |
mib_access | , | |||
const | int, | |||
int | , | |||
int | , | |||
int | ||||
) |
Construct a SnmpInt32MinMax with initial value.
oid | the oid of the leaf or the column of the columnar object. | |
access | the max-access rights for the object. | |
intvalue | an integer value. | |
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. | |
min | the minimum value the receiver may be set to. | |
max | the maximum value the receiver may be set to. |
SnmpInt32MinMax::SnmpInt32MinMax | ( | const Oidx & | , | |
mib_access | , | |||
int | , | |||
int | ||||
) |
Construct a SnmpIn32MinMax without initial value (will be 0).
oid | the oid of the leaf or the column of the columnar object. | |
access | the max-access rights for the object. | |
min | the minimum value the receiver may be set to. | |
max | the maximum value the receiver may be set to. |
virtual boolean SnmpInt32MinMax::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.
MibEntryPtr SnmpInt32MinMax::clone | ( | ) | [virtual] |
Clone the receiver object.
Reimplemented from MibLeaf.
Reimplemented in SnmpSecurityModel, SnmpSecurityLevel, and SnmpMessageProcessingModel.
int SnmpInt32MinMax::get_state | ( | ) |
void SnmpInt32MinMax::set_state | ( | int | ) |