Inter4ql  5.2
Public Member Functions | List of all members
Inter4ql::Output Class Reference

Output class handles standard output of interpreter. More...

#include <Output.h>

Public Member Functions

 Output (std::ostream *o=0, std::ostream *e=0)
 constructor More...
 
 ~Output ()
 destructor
 
void print (Exception *s)
 prints exception More...
 
void print (std::string *s)
 prints std::string More...
 
void print (std::string s)
 prints std::string More...
 
void set_output (std::ostream *o)
 setter for standard output More...
 
void set_error (std::ostream *e)
 setter for error output More...
 

Detailed Description

Output class handles standard output of interpreter.

Constructor & Destructor Documentation

◆ Output()

Inter4ql::Output::Output ( std::ostream *  o = 0,
std::ostream *  e = 0 
)

constructor

Parameters
ostandard output
eerror output

Member Function Documentation

◆ print() [1/3]

void Inter4ql::Output::print ( Exception s)

prints exception

Parameters
spointer to an Exception instance

◆ print() [2/3]

void Inter4ql::Output::print ( std::string *  s)

prints std::string

Parameters
spointer to an std::string

◆ print() [3/3]

void Inter4ql::Output::print ( std::string  s)

prints std::string

Parameters
sstd::string

◆ set_error()

void Inter4ql::Output::set_error ( std::ostream *  e)

setter for error output

Parameters
eerror output

◆ set_output()

void Inter4ql::Output::set_output ( std::ostream *  o)

setter for standard output

Parameters
ostandard output

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