#include <exprbase.hpp>
Base class for expression.
Defines the common interface for all expression terms
Public Member Functions | |
Constructors, destructor | |
ExprBase () | |
default constructor | |
virtual | ~ExprBase () |
destructor | |
Accessors | |
virtual std::string | typeName () const |
Methods | |
virtual std::ostream & | toText (std::ostream &os, bool paren) const =0 |
virtual std::ostream & | toLatex (std::ostream &os, bool paren) const =0 |
std::string | toString () const |
|
pure virtual |
Write in a form suitable for LaTeX formatting
std::string Feel::ExprBase::toString | ( | ) | const |
write the expression into a std::string
References toText().
|
pure virtual |
Write a simple text description suitable for output to a terminal
|
virtual |
Return a descriptive name for the expression subtype