SnmpInt32MinMax Class Reference

SnmpInt32MinMax. More...

#include <snmp_textual_conventions.h>

Inheritance diagram for SnmpInt32MinMax:

MibLeaf MibEntry ThreadManager Synchronized SnmpMessageProcessingModel SnmpSecurityLevel SnmpSecurityModel

List of all members.

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)


Detailed Description

SnmpInt32MinMax.

This object contains a integer value. The range of possible values can be set.

Author:
Jochen Katz
Version:
3.3

Constructor & Destructor Documentation

SnmpInt32MinMax::SnmpInt32MinMax ( const Oidx ,
mib_access  ,
const   int,
int  ,
int  ,
int   
)

Construct a SnmpInt32MinMax with initial value.

Parameters:
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).

Parameters:
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.


Member Function Documentation

virtual boolean SnmpInt32MinMax::value_ok ( const Vbx  )  [virtual]

Check whether the receiver's value may be set to the given new value.

Note:
Override this mehtod in subclasses.
Parameters:
v - A new value.
Returns:
TRUE if the new value is valid, otherwise FALSE.

Reimplemented from MibLeaf.

MibEntryPtr SnmpInt32MinMax::clone (  )  [virtual]

Clone the receiver object.

Returns:
A pointer to the clone.

Reimplemented from MibLeaf.

Reimplemented in SnmpSecurityModel, SnmpSecurityLevel, and SnmpMessageProcessingModel.

int SnmpInt32MinMax::get_state (  ) 

void SnmpInt32MinMax::set_state ( int   ) 


The documentation for this class was generated from the following file:

Generated on Fri May 29 22:36:55 2009 for AGENT++ by  doxygen 1.5.6