Rosetta  2020.46
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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>

Inheritance diagram for basic::PyTracer:
Inheritance graph
[legend]

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 ()
 
 ~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 &) override
 overload member function. More...
 

Private Attributes

std::string buf_
 

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
virtual void basic::PyTracer::output_callback ( std::string  )
inlinevirtual

Referenced by t_flush().

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

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: