#include <Timestamp.h>
Public Member Functions | |
Timestamp () | |
Timestamp (const Timestamp &) | |
Timestamp (long secs, long microSecs) | |
virtual | ~Timestamp () |
Timestamp & | operator= (const Timestamp &rhs) |
int | operator== (const Timestamp &rhs) const |
long | getSeconds () |
void | setSeconds (long newSecs) |
long | getMicroSeconds () |
void | setMicroSeconds (long newMicroSecs) |
std::string | toXML (std::string elementName=USER_TIMESTAMP_ELEMENT_NAME, int amountToIndent=6) |
Private Attributes | |
long | seconds |
long | microSeconds |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns an XML fragment (NOT a complete document) representing the timestamp, for use in the message that is transported from alarm source to alarm server.
<source-timestamp seconds="1129902763" microseconds="132000"/>
|
|
|
|
|