Stride Reference Manual  - generated for commit 9643b11
stride::util::TimeStamp Class Reference

Provides wall-clock time stamp using the time call. More...

#include <TimeStamp.h>

Collaboration diagram for stride::util::TimeStamp:
Collaboration graph

Public Member Functions

 TimeStamp ()
 Constructor marks the current 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...
 

Private Attributes

std::chrono::system_clock::time_point m_tp
 

Detailed Description

Provides wall-clock time stamp using the time call.

The time is that of the constructor call.

Definition at line 34 of file TimeStamp.h.

Constructor & Destructor Documentation

stride::util::TimeStamp::TimeStamp ( )

Constructor marks the current time for the time stamp.

Definition at line 31 of file TimeStamp.cpp.

Member Function Documentation

std::string stride::util::TimeStamp::ToString ( ) const

Returns string with the time stamp after eliminating newline.

Definition at line 33 of file TimeStamp.cpp.

References m_tp.

Referenced by stride::util::operator<<().

Here is the caller graph for this function:

std::string stride::util::TimeStamp::ToTag ( ) const

Returns string with the time stamp after eliminating newline.

Definition at line 41 of file TimeStamp.cpp.

Member Data Documentation

std::chrono::system_clock::time_point stride::util::TimeStamp::m_tp
private

Definition at line 47 of file TimeStamp.h.

Referenced by ToString().


The documentation for this class was generated from the following files: