PandA-2024.02
|
The type used for timestamp. More...
#include <utility.hpp>
Public Member Functions | |
TimeStamp () | |
Empty constructor: timestamp is set to 01-01-1970 00.00. More... | |
TimeStamp (const std::string ×tamp) | |
Constructor from string. More... | |
Static Public Member Functions | |
static std::string | GetCurrentTimeStamp () |
Return a timestamp of the current time. More... | |
Data Fields | |
std::string | timestamp |
Friends | |
std::ostream & | operator<< (std::ostream &os, const TimeStamp ×tamp) |
Friend definition of the << operator. More... | |
bool | operator<= (const TimeStamp ×tamp1, const TimeStamp ×tamp2) |
The type used for timestamp.
Definition at line 280 of file utility.hpp.
TimeStamp::TimeStamp | ( | ) |
Empty constructor: timestamp is set to 01-01-1970 00.00.
Definition at line 47 of file utility.cpp.
|
explicit |
Constructor from string.
timestamp | is the string containing the timestamp |
Definition at line 51 of file utility.cpp.
|
static |
Return a timestamp of the current time.
Definition at line 55 of file utility.cpp.
Referenced by Evaluation::Exec(), CBackend::Exec(), HDL_manager::write_components(), and RTLCharacterization::xwrite_characterization().
|
friend |
Friend definition of the << operator.
os | is the output stream |
timestamp | is the timestamp to be printed |
Definition at line 70 of file utility.cpp.
Definition at line 76 of file utility.cpp.
std::string TimeStamp::timestamp |
Definition at line 282 of file utility.hpp.
Referenced by operator<<(), and operator<=().