#include <snmp_textual_conventions.h>
Public Member Functions | |
OctetStrMinMax (const Oidx &, mib_access, NS_SNMP OctetStr *, int, u_int, u_int) | |
Construct a OctetStrMinMax with initial value. | |
OctetStrMinMax (const Oidx &, mib_access, u_int, u_int) | |
Construct a SnmpIn32MinMax without initial value (will be 0). | |
virtual int | prepare_set_request (Request *, int &) |
Let the receiver prepare a SNMP SET subrequest. | |
MibEntryPtr | clone () |
Clone the receiver object. | |
int | get () |
Return the integer value of the receiver. | |
Protected Attributes | |
unsigned int | min |
unsigned int | max |
This object contains a integer value. The range of possible values can be set.
OctetStrMinMax::OctetStrMinMax | ( | const Oidx & | , | |
mib_access | , | |||
NS_SNMP OctetStr * | , | |||
int | , | |||
u_int | , | |||
u_int | ||||
) |
Construct a OctetStrMinMax with initial value.
oid | the oid of the leaf or the column of the columnar object. | |
access | the max-access rights for the object. | |
string | a pointer to an OctetStr instance. | |
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 length of the receiver's value. | |
max | the maximum length of the receiver's value. |
OctetStrMinMax::OctetStrMinMax | ( | const Oidx & | , | |
mib_access | , | |||
u_int | , | |||
u_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 length of the receiver's value. | |
max | the maximum length of the receiver's value. |
virtual int OctetStrMinMax::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.
MibEntryPtr OctetStrMinMax::clone | ( | ) | [virtual] |
Clone the receiver object.
Reimplemented from MibLeaf.
Reimplemented in SnmpAdminString.
int OctetStrMinMax::get | ( | ) |
unsigned int OctetStrMinMax::min [protected] |
unsigned int OctetStrMinMax::max [protected] |