#include <snmp_textual_conventions.h>

Public Member Functions | |
| DateAndTime (const Oidx &, mib_access, int) | |
| Construct a DateAndTime instance and initialize its value with the system's date and time. | |
| virtual | ~DateAndTime () |
| Destructor. | |
| virtual MibEntryPtr | clone () |
| Clone the receiver object. | |
| virtual NS_SNMP OctetStr | get_state () |
| virtual void | set_state (const NS_SNMP OctetStr &) |
| virtual boolean | is_volatile () |
| Check whether the entry is volatile or not. | |
| void | update () |
| Update current value with the system's date and time. | |
field octets contents range ----- ------ -------- ----- 1 1-2 year* 0..65536 2 3 month 1..12 3 4 day 1..31 4 5 hour 0..23 5 6 minutes 0..59 6 7 seconds 0..60 (use 60 for leap-second) 7 8 deci-seconds 0..9 8 9 direction from UTC '+' / '-' 9 10 hours from UTC* 0..13 10 11 minutes from UTC 0..59
* Notes:
For example, Tuesday May 26, 1992 at 1:30:15 PM EDT would be displayed as:
1992-5-26,13:30:15.0,-4:0
Note that if only local time is known, then timezone information (fields 8-10) is not present.
| DateAndTime::DateAndTime | ( | const Oidx & | , | |
| mib_access | , | |||
| int | ||||
| ) |
Construct a DateAndTime instance and initialize its value with the system's date and time.
| oid | the oid of the leaf or the column of the columnar object. | |
| access | the max-access rights for the object. (Normally READONLY) | |
| 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. |
| virtual DateAndTime::~DateAndTime | ( | ) | [virtual] |
Destructor.
| virtual MibEntryPtr DateAndTime::clone | ( | ) | [virtual] |
| virtual NS_SNMP OctetStr DateAndTime::get_state | ( | ) | [virtual] |
| virtual void DateAndTime::set_state | ( | const NS_SNMP OctetStr & | ) | [virtual] |
| virtual boolean DateAndTime::is_volatile | ( | ) | [inline, virtual] |
Check whether the entry is volatile or not.
Reimplemented from MibEntry.
| void DateAndTime::update | ( | ) |
Update current value with the system's date and time.
1.5.6