Rosetta Utilities  2014.35
Classes | Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
basic::basic_otstream< CharT, Traits > Class Template Reference

Base class for Tracer, TracerProxy and UTracer objects. More...

#include <Tracer.hh>

Classes

class  basic_tstringbuf
 Wrapper class for std::stringbuf. More...
 

Public Member Functions

 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

virtual void t_flush (std::string const &)
 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 Member Functions

 basic_otstream (basic_otstream const &)
 

Additional Inherited Members

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

Detailed Description

template<class CharT, class Traits = std::char_traits<CharT>>
class basic::basic_otstream< CharT, Traits >

Base class for Tracer, TracerProxy and UTracer objects.

Constructor & Destructor Documentation

template<class CharT , class Traits = std::char_traits<CharT>>
basic::basic_otstream< CharT, Traits >::basic_otstream ( )
inline
template<class CharT , class Traits = std::char_traits<CharT>>
virtual basic::basic_otstream< CharT, Traits >::~basic_otstream ( )
inlinevirtual
template<class CharT , class Traits = std::char_traits<CharT>>
basic::basic_otstream< CharT, Traits >::basic_otstream ( basic_otstream< CharT, Traits > const &  )
private

Member Function Documentation

template<class CharT , class Traits = std::char_traits<CharT>>
bool basic::basic_otstream< CharT, Traits >::is_flushed ( ) const
inline

Return true if inner string buffer is empty.

Referenced by basic::Tracer::~Tracer().

template<class CharT , class Traits = std::char_traits<CharT>>
virtual void basic::basic_otstream< CharT, Traits >::t_flush ( std::string const &  )
inlineprotectedvirtual

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

Reimplemented in basic::PyTracer, basic::Tracer, basic::Tracer::TracerProxy, basic::MemTracer, basic::ComparingTracer, and basic::TracerToFile.

Referenced by basic::basic_otstream< CharT, Traits >::basic_tstringbuf< _CharT, _Traits >::sync().


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