PLaSK library
|
Template of base class for classes which store or log n-dimensional data. More...
#include <plask/log/data.hpp>
Public Member Functions | |
DataLog (const std::string &global_prefix, const std::string &chart_name, const std::string &axis_arg_name, const std::string &axis_val_name) | |
DataLog (const std::string &global_prefix, const std::string &axis_arg_name, const std::string &axis_val_name) | |
DataLog & | operator() (const ArgT &arg, const ValT &val) |
Log a data point. | |
int | count (const ArgT &arg, const ValT &val) |
Log a data point with automatic counting. | |
int | counter () const |
Return current counter. | |
void | resetCounter () |
Reset the counter. | |
void | throwError (const ArgT &arg) const |
Report and throw error. | |
std::string | chartName () const |
Return chart name. | |
Protected Member Functions | |
DataLog & | operator() (const ArgT &arg, const ValT &val, int counter) |
Log a data point and with specified counter. | |
DataLog< std::string, std::string > & | operator() (const std::string &arg, const std::string &val, int counter) |
DataLog< std::string, std::string > & | operator() (const std::string &arg, const std::string &val) |
DataLog< std::string, std::string > & | operator() (const std::string &arg, const std::string &val, int counter) |
DataLog< std::string, std::string > & | operator() (const std::string &arg, const std::string &val) |
Template of base class for classes which store or log n-dimensional data.
|
inline |
|
inline |
|
inlineprotected |
|
protected |
|
protected |
|
protected |
|
protected |