#include <printer.h>
Static Public Member Functions | |
static void | printOn (std::ostream &AOutput, const TNode< T > *AExpr) |
static std::string | print (const TNode< T > *AExpr) |
Definition at line 37 of file printer.h.
static void math::TPrinter< T >::printOn | ( | std::ostream & | AOutput, | |
const TNode< T > * | AExpr | |||
) | [static] |
printOn prints given expression, AExpr, to the given output stream AOutput.
static std::string math::TPrinter< T >::print | ( | const TNode< T > * | AExpr | ) | [static] |
print prints given expression, AExpr, into a std::string and returns its value.
This is just a wrapper method to printon with std::ostringstream, but often used.