Cadabra
Computer algebra system for field theory problems
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
Server::CatchOutput Class Reference

Description

Python output catching.

We implement this in a C++ class because we want to be able to catch each line of output separately, and perhaps add additional functionality to send out-of-band messages to the client later.

#include <Server.hh>

Public Member Functions

 CatchOutput ()
 
 CatchOutput (const CatchOutput &)
 
void write (const std::string &txt)
 
void clear ()
 
std::string str () const
 

Private Attributes

std::string collect
 

Constructor & Destructor Documentation

Server::CatchOutput::CatchOutput ( )
Server::CatchOutput::CatchOutput ( const CatchOutput )

Member Function Documentation

void Server::CatchOutput::clear ( )
std::string Server::CatchOutput::str ( ) const
void Server::CatchOutput::write ( const std::string &  txt)

Member Data Documentation

std::string Server::CatchOutput::collect
private

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