![]() |
Rosetta
2020.11
|
#include <TracerToFile.hh>
Public Member Functions | |
TracerToFile (std::string const &file_name) | |
~TracerToFile () override | |
![]() | |
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_ |
basic::TracerToFile::TracerToFile | ( | std::string const & | file_name | ) |
References file_, erraser_single_res_analysis::out, and utility_exit_with_message.
|
override |
References file_.
|
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.
|
private |
Referenced by t_flush(), TracerToFile(), and ~TracerToFile().