.TH "log4tango::TimeStamp" 3 "Mon Jan 16 2017" "Version 5.0.1" "log4tango" \" -*- nroff -*- .ad l .nh .SH NAME log4tango::TimeStamp .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBTimeStamp\fP ()" .br .RI "Constructs a \fBTimeStamp\fP representing 'now'\&. " .ti -1c .RI "\fBTimeStamp\fP (const \fBTimeStamp\fP &t)" .br .RI "Copy Constructor\&. " .ti -1c .RI "\fBTimeStamp\fP (unsigned int seconds, unsigned int microseconds=0)" .br .RI "Constructs a \fBTimeStamp\fP representing the given offset since the epoch ( 00:00:00 1970/1/1 UTC)\&. " .ti -1c .RI "int \fBget_seconds\fP (void) const" .br .RI "Returns the 'seconds' part of the \fBTimeStamp\fP\&. " .ti -1c .RI "int \fBget_milliseconds\fP (void) const" .br .RI "Returns the 'subseconds' part of the \fBTimeStamp\fP in milliseconds, \fBget_milliseconds()\fP == \fBget_microseconds()\fP / 1000\&. " .ti -1c .RI "int \fBget_microseconds\fP (void) const" .br .RI "Returns the subsecond part of the \fBTimeStamp\fP in microseconds\&. " .ti -1c .RI "void \fBoperator=\fP (const \fBTimeStamp\fP &t)" .br .RI "Operator=\&. " .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "static const \fBTimeStamp\fP & \fBget_start_time\fP (void)" .br .RI "Returns a \fBTimeStamp\fP representing the time at which the application started\&. " .in -1c .SS "Protected Attributes" .in +1c .ti -1c .RI "int \fB_seconds\fP" .br .ti -1c .RI "int \fB_micro_seconds\fP" .br .in -1c .SS "Static Protected Attributes" .in +1c .ti -1c .RI "static \fBTimeStamp\fP \fB_start_stamp\fP" .br .in -1c .SH "Constructor & Destructor Documentation" .PP .SS "log4tango::TimeStamp::TimeStamp ()" .PP Constructs a \fBTimeStamp\fP representing 'now'\&. .SS "log4tango::TimeStamp::TimeStamp (const \fBTimeStamp\fP & t)\fC [inline]\fP" .PP Copy Constructor\&. .SS "log4tango::TimeStamp::TimeStamp (unsigned int seconds, unsigned int microseconds = \fC0\fP)\fC [inline]\fP" .PP Constructs a \fBTimeStamp\fP representing the given offset since the epoch ( 00:00:00 1970/1/1 UTC)\&. .SH "Member Function Documentation" .PP .SS "int log4tango::TimeStamp::get_microseconds (void) const\fC [inline]\fP" .PP Returns the subsecond part of the \fBTimeStamp\fP in microseconds\&. The actual precision of this value depends on the platform and may be in the order of milliseconds rather than microseconds\&. .SS "int log4tango::TimeStamp::get_milliseconds (void) const\fC [inline]\fP" .PP Returns the 'subseconds' part of the \fBTimeStamp\fP in milliseconds, \fBget_milliseconds()\fP == \fBget_microseconds()\fP / 1000\&. .SS "int log4tango::TimeStamp::get_seconds (void) const\fC [inline]\fP" .PP Returns the 'seconds' part of the \fBTimeStamp\fP\&. .SS "static const \fBTimeStamp\fP& log4tango::TimeStamp::get_start_time (void)\fC [inline]\fP, \fC [static]\fP" .PP Returns a \fBTimeStamp\fP representing the time at which the application started\&. .SS "void log4tango::TimeStamp::operator= (const \fBTimeStamp\fP & t)\fC [inline]\fP" .PP Operator=\&. .SH "Member Data Documentation" .PP .SS "int log4tango::TimeStamp::_micro_seconds\fC [protected]\fP" .SS "int log4tango::TimeStamp::_seconds\fC [protected]\fP" .SS "\fBTimeStamp\fP log4tango::TimeStamp::_start_stamp\fC [static]\fP, \fC [protected]\fP" .SH "Author" .PP Generated automatically by Doxygen for log4tango from the source code\&.