Rosetta  2020.28
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
basic::Report Class Reference

Data class to hold Report information. Use Reporter class for write access. More...

#include <report.hh>

Public Member Functions

 Report (std::string const &file_name)
 
 ~Report ()
 
void write ()
 
template<typename T >
Reportoperator<< (T const &v)
 
template<typename T >
void set (std::string const &key, T const &value)
 

Private Attributes

std::string file_name_
 
std::string text_
 store human readable text info More...
 
utility::json_spirit::Object data_
 store json data More...
 

Detailed Description

Data class to hold Report information. Use Reporter class for write access.

Constructor & Destructor Documentation

basic::Report::Report ( std::string const &  file_name)

References file_name_.

basic::Report::~Report ( )

References write().

Member Function Documentation

template<typename T >
Report& basic::Report::operator<< ( T const &  v)
inline
template<typename T >
void basic::Report::set ( std::string const &  key,
T const &  value 
)
inline

References data_.

void basic::Report::write ( )

Member Data Documentation

utility::json_spirit::Object basic::Report::data_
private

store json data

Referenced by set(), and write().

std::string basic::Report::file_name_
private

Referenced by Report(), and write().

std::string basic::Report::text_
private

store human readable text info

Referenced by operator<<(), and write().


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