Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
variant processing reporting More...
#include <bayeux/datatools/configuration/io.h>
Public Types | |
typedef std::map< std::string, std::size_t > | statistics_type |
Public Member Functions | |
variant_reporting () | |
Default constructor. More... | |
~variant_reporting () | |
Destructor. More... | |
bool | has_repository () const |
Check if a variant configuration repository is used. More... | |
void | set_repository (const variant_repository &repository_) |
Set the variant configuration repository. More... | |
void | reset_repository () |
Reset the variant configuration repository. More... | |
const variant_repository & | get_repository () const |
Get the variant configuration repository. More... | |
void | reset () |
Reset the counters. More... | |
void | print_report (std::ostream &out_, uint32_t flags_=0) const |
Print the statistic report. More... | |
void | add (const std::string &path_, std::size_t increment_=1) |
Increment the counter associated to a processed variant parameter. More... | |
void | dump (std::ostream &out_=std::cerr) const |
Print. More... | |
logger::priority | get_logging () const |
Return the logging priority. More... | |
void | set_logging (logger::priority) |
Set the logging priority. More... | |
variant processing reporting
typedef std::map<std::string, std::size_t> datatools::configuration::variant_reporting::statistics_type |
datatools::configuration::variant_reporting::variant_reporting | ( | ) |
Default constructor.
datatools::configuration::variant_reporting::~variant_reporting | ( | ) |
Destructor.
void datatools::configuration::variant_reporting::add | ( | const std::string & | path_, |
std::size_t | increment_ = 1 |
||
) |
Increment the counter associated to a processed variant parameter.
void datatools::configuration::variant_reporting::dump | ( | std::ostream & | out_ = std::cerr | ) | const |
Print.
logger::priority datatools::configuration::variant_reporting::get_logging | ( | ) | const |
Return the logging priority.
const variant_repository& datatools::configuration::variant_reporting::get_repository | ( | ) | const |
Get the variant configuration repository.
bool datatools::configuration::variant_reporting::has_repository | ( | ) | const |
Check if a variant configuration repository is used.
void datatools::configuration::variant_reporting::print_report | ( | std::ostream & | out_, |
uint32_t | flags_ = 0 |
||
) | const |
Print the statistic report.
void datatools::configuration::variant_reporting::reset | ( | ) |
Reset the counters.
void datatools::configuration::variant_reporting::reset_repository | ( | ) |
Reset the variant configuration repository.
void datatools::configuration::variant_reporting::set_logging | ( | logger::priority | ) |
Set the logging priority.
void datatools::configuration::variant_reporting::set_repository | ( | const variant_repository & | repository_ | ) |
Set the variant configuration repository.