#include <Timestamp.h>
List of all members.
Constructor & Destructor Documentation
acsalarm::Timestamp::Timestamp |
( |
|
) |
|
acsalarm::Timestamp::Timestamp |
( |
const Timestamp & |
|
) |
|
acsalarm::Timestamp::Timestamp |
( |
long |
secs, |
|
|
long |
microSecs | |
|
) |
| | |
virtual acsalarm::Timestamp::~Timestamp |
( |
|
) |
[virtual] |
Member Function Documentation
long acsalarm::Timestamp::getMicroSeconds |
( |
|
) |
[inline] |
long acsalarm::Timestamp::getSeconds |
( |
|
) |
[inline] |
int acsalarm::Timestamp::operator== |
( |
const Timestamp & |
rhs |
) |
const |
void acsalarm::Timestamp::setMicroSeconds |
( |
long |
newMicroSecs |
) |
[inline] |
void acsalarm::Timestamp::setSeconds |
( |
long |
newSecs |
) |
[inline] |
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.
- Parameters:
-
| elementName | the element name when generating the XML fragment, for instance in the example below the elementName is "source-timestamp" |
For example:
<source-timestamp seconds="1129902763" microseconds="132000"/>
- Parameters:
-
| amountToIndent | - used to specify a level of indentation (in spaces) for readability |
Member Data Documentation
The documentation for this class was generated from the following file: