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

#include <TracerToFile.hh>

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

Public Member Functions

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

Protected Member Functions

void t_flush (std::string const &s) override
 notification that flush function was called and inner buffer should be outputed. This is the mechanims by which the std::basic_stringbuf base class communicates with the TracerImpl and TracerProxyImpl objects. More...
 

Private Attributes

std::ofstream file_
 

Constructor & Destructor Documentation

basic::TracerToFile::TracerToFile ( std::string const &  file_name)
basic::TracerToFile::~TracerToFile ( )
override

References file_.

Member Function Documentation

void basic::TracerToFile::t_flush ( std::string const &  )
overrideprotectedvirtual

notification that flush function was called and inner buffer should be outputed. This is the mechanims by which the std::basic_stringbuf base class communicates with the TracerImpl and TracerProxyImpl objects.

Reimplemented from basic::basic_otstream< CharT, Traits >.

References file_, and basic::options::OptionKeys::in::file::s.

Member Data Documentation

std::ofstream basic::TracerToFile::file_
private

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