|
| NodeConstant (Tint val=0, Node *parent=NULL) |
|
| NodeConstant (Tfloat val, Node *parent=NULL) |
|
Tvaltype | valueType () const |
|
Value | evaluate () const |
|
Tfloat | evaluateFloat () const |
|
Tint | evaluateInt () const |
|
void | write (std::ostream &ostrm) const |
|
| Node (Node *child1=NULL, Node *child2=NULL, Node *parent=NULL, short priority=0) |
|
void | setChild1 (Node *child1) |
|
Node * | getChild1 () const |
|
void | setChild2 (Node *child2) |
|
Node * | getChild2 () const |
|
void | setParent (Node *parent) |
|
Node * | getParent () const |
|
bool | isInt () const |
|
bool | isFloat () const |
|
| operator std::string () const |
|
void | write () const |
|
void | traverse (std::list< const Node * > &nodelist, enum Etraversetype traversetype=traversetypePOSTFIX) const |
|
void | writeSubExpr (std::ostream &ostrm=std::cout, enum Etraversetype traversetype=traversetypePOSTFIX, char sep=' ') const |
|
◆ evaluate()
Value Expression::NodeConstant::evaluate |
( |
| ) |
const |
|
inlinevirtual |
◆ evaluateFloat()
Tfloat Expression::NodeConstant::evaluateFloat |
( |
| ) |
const |
|
inlinevirtual |
◆ evaluateInt()
Tint Expression::NodeConstant::evaluateInt |
( |
| ) |
const |
|
inlinevirtual |
◆ valueType()
Tvaltype Expression::NodeConstant::valueType |
( |
| ) |
const |
|
inlinevirtual |
◆ write()
void Expression::NodeConstant::write |
( |
std::ostream & |
ostrm | ) |
const |
|
inlinevirtual |
The documentation for this class was generated from the following file: