Rosetta
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

◆ TracerToFile()

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

◆ ~TracerToFile()

basic::TracerToFile::~TracerToFile ( )
override

References file_.

Member Function Documentation

◆ t_flush()

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 docking::s.

Member Data Documentation

◆ file_

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

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