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

Special PyRosetta friendly Tracer like buffer. Use it to capture Tracer output with set_ios_hook. More...

#include <Tracer.hh>

Public Member Functions

std::string buf ()
 
void buf (std::string b)
 
virtual void output_callback (std::string)
 
- 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

virtual void t_flush (std::string const &)
 overload member function. 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::string buf_
 

Additional Inherited Members

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

Detailed Description

Special PyRosetta friendly Tracer like buffer. Use it to capture Tracer output with set_ios_hook.

Member Function Documentation

std::string basic::PyTracer::buf ( )
inline

References buf_.

void basic::PyTracer::buf ( std::string  b)
inline

References buf_.

virtual void basic::PyTracer::output_callback ( std::string  )
inlinevirtual

Referenced by t_flush().

void basic::PyTracer::t_flush ( std::string const &  str)
protectedvirtual

overload member function.

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

References buf_, and output_callback().

Member Data Documentation

std::string basic::PyTracer::buf_
private

Referenced by buf(), and t_flush().


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