23 void output(std::ostream&);
24 void output(std::ostream&, Ex::iterator);
26 virtual void dispatch(std::ostream&, Ex::iterator)=0;
44 std::ostringstream ss;
45 DisplayType dt(kernel, ex);
52 return ex_to_string<DisplayType>(kernel,
Ex(it));
Base class for all display classes.
Definition: DisplayBase.hh:19
virtual bool needs_brackets(Ex::iterator it)=0
Determine if a node needs extra brackets around it.
const Kernel & kernel
Definition: DisplayBase.hh:38
DisplayBase(const Kernel &, const Ex &)
Definition: DisplayBase.cc:6
const Ex & tree
Definition: DisplayBase.hh:37
void output(std::ostream &)
Definition: DisplayBase.cc:11
virtual void dispatch(std::ostream &, Ex::iterator)=0
Basic storage class for symbolic mathemematical expressions.
Definition: Storage.hh:142
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Adjform.cc:83
std::string ex_to_string(const Kernel &kernel, const Ex &ex)
Definition: DisplayBase.hh:42