Definition at line 540 of file plotWidget.cc.
◆ TimeFormatter()
minsky::anonymous_namespace{plotWidget.cc}::TimeFormatter::TimeFormatter |
( |
const std::string & |
format | ) |
|
|
inline |
◆ operator()()
std::string minsky::anonymous_namespace{plotWidget.cc}::TimeFormatter::operator() |
( |
const string & |
label, |
|
|
double |
x, |
|
|
double |
y |
|
) |
| const |
|
inline |
Definition at line 544 of file plotWidget.cc.
References minsky::str().
548 r<<label<<
":("<<
str(ptime(date(1970,Jan,1))+microseconds(static_cast<long long>(1E6*x)),
format)
std::string str(T x)
utility function to create a string representation of a numeric type
◆ format
std::string minsky::anonymous_namespace{plotWidget.cc}::TimeFormatter::format |
The documentation for this struct was generated from the following file: