Stride Reference Manual
1.0
|
Provides wall-clock time stamp using the time call. More...
#include <TimeStamp.h>
Public Member Functions | |
TimeStamp () | |
Constructor marks the time for the time stamp. More... | |
std::string | toString () const |
Returns string with the time stamp after eliminating newline. More... | |
std::string | toTag () const |
Returns string with the time stamp after eliminating newline. More... | |
std::time_t | toTimeT () const |
Returns time stamp as a time_t. More... | |
Private Attributes | |
std::chrono::system_clock::time_point | m_tp |
Provides wall-clock time stamp using the time call.
The time is that of the constructor call.
Definition at line 36 of file TimeStamp.h.
|
inline |
Constructor marks the time for the time stamp.
Definition at line 39 of file TimeStamp.h.
|
inline |
Returns string with the time stamp after eliminating newline.
Definition at line 42 of file TimeStamp.h.
References m_tp.
Referenced by stride::util::operator<<().
|
inline |
Returns string with the time stamp after eliminating newline.
Definition at line 50 of file TimeStamp.h.
|
inline |
|
private |
Definition at line 68 of file TimeStamp.h.
Referenced by toString(), and toTimeT().