#include <snmp_textual_conventions.h>

Public Member Functions | |
| SnmpDisplayString (const Oidx &, mib_access, NS_SNMP OctetStr *) | |
| Construct a DisplayString with initial value. | |
| SnmpDisplayString (const Oidx &, mib_access, NS_SNMP OctetStr *, boolean) | |
| Construct a DisplayString with initial value. | |
| SnmpDisplayString (const Oidx &, mib_access, NS_SNMP OctetStr *, boolean, int, int) | |
| Construct a DisplayString with initial value. | |
| virtual | ~SnmpDisplayString () |
| 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. | |
Protected Attributes | |
| unsigned int | max_size |
| unsigned int | min_size |
It may also be used to implement the SnmpAdminString textual convention.
| SnmpDisplayString::SnmpDisplayString | ( | const Oidx & | , | |
| mib_access | , | |||
| NS_SNMP OctetStr * | ||||
| ) |
Construct a DisplayString 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. |
| SnmpDisplayString::SnmpDisplayString | ( | const Oidx & | , | |
| mib_access | , | |||
| NS_SNMP OctetStr * | , | |||
| boolean | ||||
| ) |
Construct a DisplayString 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. | |
| hasdefault | if TRUE treat the inital value as default value (this applies to columnar objects only) |
| SnmpDisplayString::SnmpDisplayString | ( | const Oidx & | , | |
| mib_access | , | |||
| NS_SNMP OctetStr * | , | |||
| boolean | , | |||
| int | , | |||
| int | ||||
| ) |
Construct a DisplayString 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. | |
| hasdefault | if TRUE treat the inital value as default value (this applies to columnar objects only) | |
| min_size | the minimum size of the DisplayString. | |
| max_size | the maxmimum size of the DisplayString. |
| virtual SnmpDisplayString::~SnmpDisplayString | ( | ) | [virtual] |
| virtual MibEntryPtr SnmpDisplayString::clone | ( | ) | [virtual] |
| virtual boolean SnmpDisplayString::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 SnmpDisplayString::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.
unsigned int SnmpDisplayString::max_size [protected] |
unsigned int SnmpDisplayString::min_size [protected] |
1.5.6