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

#include <ComparingTracer.hh>

Inheritance diagram for basic::ComparingTracer:
Inheritance graph
[legend]

Public Member Functions

 ComparingTracer (std::string const &file_name)
 
virtual ~ComparingTracer ()
 
- Public Member Functions inherited from basic::basic_otstream< CharT, Traits >
 basic_otstream ()
 
virtual ~basic_otstream ()
 
bool is_flushed () const
 Return true if inner string buffer is empty. More...
 

Protected Member Functions

virtual void t_flush (std::string const &s)
 overload member function. More...
 

Private Member Functions

 ComparingTracer (ComparingTracer const &)
 

Private Attributes

std::fstream file_
 
bool dry_run_
 mode of operation: if true: create model file, do not compare false: read model file, and compare output against it, generating 'assert false' if difference encountered. More...
 

Constructor & Destructor Documentation

basic::ComparingTracer::ComparingTracer ( std::string const &  file_name)
basic::ComparingTracer::~ComparingTracer ( )
virtual

References file_.

basic::ComparingTracer::ComparingTracer ( ComparingTracer const &  )
private

Member Function Documentation

void basic::ComparingTracer::t_flush ( std::string const &  s)
protectedvirtual

Member Data Documentation

bool basic::ComparingTracer::dry_run_
private

mode of operation: if true: create model file, do not compare false: read model file, and compare output against it, generating 'assert false' if difference encountered.

Referenced by ComparingTracer(), and t_flush().

std::fstream basic::ComparingTracer::file_
private

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