Rosetta Utilities  2014.35
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
basic::TracerToFile Class Reference

#include <TracerToFile.hh>

Public Member Functions

 TracerToFile (std::string const &file_name)
 
virtual ~TracerToFile ()
 
- 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...
 
- Public Member Functions inherited from utility::pointer::ReferenceCount
void ctor ()
 
virtual ~ReferenceCount ()
 Destructor. More...
 
Size ref_count () const
 Reference count. More...
 

Protected Member Functions

void t_flush (std::string const &s)
 notification that flush function was called and inner buffer should be outputed. More...
 
- Protected Member Functions inherited from utility::pointer::ReferenceCount
 ReferenceCount ()
 Default constructor. More...
 
 ReferenceCount (ReferenceCount const &)
 Copy constructor. More...
 
ReferenceCountoperator= (ReferenceCount const &)
 Copy assignment. More...
 

Private Attributes

std::ofstream file_
 

Additional Inherited Members

- Public Types inherited from utility::pointer::ReferenceCount
typedef platform::Size Size
 
typedef platform::Size size_type
 

Constructor & Destructor Documentation

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

References file_.

Member Function Documentation

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

notification that flush function was called and inner buffer should be outputed.

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: