Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Types | Public Member Functions | List of all members
datatools::configuration::variant_reporting Class Reference

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_repositoryget_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...
 

Detailed Description

variant processing reporting

Member Typedef Documentation

◆ statistics_type

typedef std::map<std::string, std::size_t> datatools::configuration::variant_reporting::statistics_type

Constructor & Destructor Documentation

◆ variant_reporting()

datatools::configuration::variant_reporting::variant_reporting ( )

Default constructor.

◆ ~variant_reporting()

datatools::configuration::variant_reporting::~variant_reporting ( )

Destructor.

Member Function Documentation

◆ add()

void datatools::configuration::variant_reporting::add ( const std::string &  path_,
std::size_t  increment_ = 1 
)

Increment the counter associated to a processed variant parameter.

◆ dump()

void datatools::configuration::variant_reporting::dump ( std::ostream &  out_ = std::cerr) const

Print.

◆ get_logging()

logger::priority datatools::configuration::variant_reporting::get_logging ( ) const

Return the logging priority.

◆ get_repository()

const variant_repository& datatools::configuration::variant_reporting::get_repository ( ) const

Get the variant configuration repository.

◆ has_repository()

bool datatools::configuration::variant_reporting::has_repository ( ) const

Check if a variant configuration repository is used.

◆ print_report()

void datatools::configuration::variant_reporting::print_report ( std::ostream &  out_,
uint32_t  flags_ = 0 
) const

Print the statistic report.

◆ reset()

void datatools::configuration::variant_reporting::reset ( )

Reset the counters.

◆ reset_repository()

void datatools::configuration::variant_reporting::reset_repository ( )

Reset the variant configuration repository.

◆ set_logging()

void datatools::configuration::variant_reporting::set_logging ( logger::priority  )

Set the logging priority.

◆ set_repository()

void datatools::configuration::variant_reporting::set_repository ( const variant_repository repository_)

Set the variant configuration repository.


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