|
dReal4
|
Class to print expressions and formulas in prefix-form. More...
#include </home/soonhokong/work/dreal4/dreal/symbolic/prefix_printer.h>
Public Member Functions | |
| PrefixPrinter (std::ostream &os) | |
Constructs a PrefixPrinter with os. More... | |
| PrefixPrinter (const PrefixPrinter &)=delete | |
| PrefixPrinter (PrefixPrinter &&)=delete | |
| PrefixPrinter & | operator= (const PrefixPrinter &)=delete |
| PrefixPrinter & | operator= (PrefixPrinter &&)=delete |
| ~PrefixPrinter () | |
| Destroys this. It restores the original precision of the ostream. | |
| std::ostream & | Print (const Expression &e) |
Prints the prefix form of the expression e to the ostream. | |
| std::ostream & | Print (const Formula &f) |
Prints the prefix form of the formula f to the ostream. | |
Friends | |
| std::ostream & | drake::symbolic::VisitExpression (PrefixPrinter *, const Expression &e) |
| std::ostream & | drake::symbolic::VisitFormula (PrefixPrinter *, const Formula &f) |
Class to print expressions and formulas in prefix-form.
|
explicit |
Constructs a PrefixPrinter with os.
It temporarily sets the precision of os to the maximum precision.