User facing host object for an expression tree. More...
#include <ExpressionBuilder.h>
Public Member Functions | |
| EBTerm () | |
| EBTerm (const EBTerm &term) | |
| ~EBTerm () | |
| EBTerm (int number) | |
| EBTerm (Real number) | |
| EBTerm (const char *symbol) | |
| operator std::string () const | |
| EBTerm & | operator= (const EBTerm &term) |
| unsigned int | substitute (const EBSubstitutionRule &rule) |
| unsigned int | substitute (const EBSubstitutionRuleList &rules) |
| const EBTermNode * | getRoot () const |
| EBTermNode * | cloneRoot () const |
| UNARY_OP_IMPLEMENT (-, NEG) UNARY_OP_IMPLEMENT(! | |
| BINARY_OP_IMPLEMENT (+, ADD) BINARY_OP_IMPLEMENT(- | |
| SUB BINARY_OP_IMPLEMENT MUL | BINARY_OP_IMPLEMENT (/, DIV) BINARY_OP_IMPLEMENT(% |
| SUB BINARY_OP_IMPLEMENT MUL MOD | BINARY_OP_IMPLEMENT (<, LESS) BINARY_OP_IMPLEMENT(> |
| SUB BINARY_OP_IMPLEMENT MUL MOD GREATER | BINARY_OP_IMPLEMENT (<=, LESSEQ) BINARY_OP_IMPLEMENT(> |
| SUB BINARY_OP_IMPLEMENT MUL MOD GREATER GREATEREQ | BINARY_OP_IMPLEMENT (==, EQ) BINARY_OP_IMPLEMENT(! |
| BINARYCOMP_OP_IMPLEMENT (+=, ADD) BINARYCOMP_OP_IMPLEMENT(- | |
| SUB BINARYCOMP_OP_IMPLEMENT MUL | BINARYCOMP_OP_IMPLEMENT (/=, DIV) BINARYCOMP_OP_IMPLEMENT(% |
Protected Attributes | |
| EBTermNode * | _root |
Private Member Functions | |
| EBTerm (EBTermNode *root) | |
User facing host object for an expression tree.
Each EBTerm contains a _root node pointer to an EBTermNode object. The _root pointer should never be NULL, but it should be safe if it ever is. The default constructor assigns a EBTempIDNode to _root with a unique ID.
Definition at line 360 of file ExpressionBuilder.h.
|
inline |
Definition at line 366 of file ExpressionBuilder.h.
|
inline |
Definition at line 368 of file ExpressionBuilder.h.
|
inline |
Definition at line 369 of file ExpressionBuilder.h.
|
inlineprivate |
Definition at line 373 of file ExpressionBuilder.h.
|
inline |
Definition at line 377 of file ExpressionBuilder.h.
|
inline |
Definition at line 378 of file ExpressionBuilder.h.
|
inline |
Definition at line 379 of file ExpressionBuilder.h.
| ExpressionBuilder::EBTerm::BINARY_OP_IMPLEMENT | ( | + | , |
| ADD | |||
| ) |
| SUB BINARY_OP_IMPLEMENT MUL ExpressionBuilder::EBTerm::BINARY_OP_IMPLEMENT | ( | / | , |
| DIV | |||
| ) |
| SUB BINARY_OP_IMPLEMENT MUL MOD ExpressionBuilder::EBTerm::BINARY_OP_IMPLEMENT | ( | ) |
| SUB BINARY_OP_IMPLEMENT MUL MOD GREATER ExpressionBuilder::EBTerm::BINARY_OP_IMPLEMENT | ( | <= | , |
| LESSEQ | |||
| ) |
| SUB BINARY_OP_IMPLEMENT MUL MOD GREATER GREATEREQ ExpressionBuilder::EBTerm::BINARY_OP_IMPLEMENT | ( | EQ | ) |
| ExpressionBuilder::EBTerm::BINARYCOMP_OP_IMPLEMENT | ( | + | , |
| ADD | |||
| ) |
| SUB BINARYCOMP_OP_IMPLEMENT MUL ExpressionBuilder::EBTerm::BINARYCOMP_OP_IMPLEMENT | ( | / | , |
| DIV | |||
| ) |
|
inline |
Definition at line 407 of file ExpressionBuilder.h.
Referenced by BINARY_FUNC_IMPLEMENT(), ExpressionBuilder::EBTermSubstitution::EBTermSubstitution(), operator=(), and pow().
|
inline |
Definition at line 406 of file ExpressionBuilder.h.
Referenced by ExpressionBuilder::EBTermSubstitution::EBTermSubstitution().
|
inline |
Definition at line 392 of file ExpressionBuilder.h.
Definition at line 395 of file ExpressionBuilder.h.
| unsigned int ExpressionBuilder::EBTerm::substitute | ( | const EBSubstitutionRule & | rule | ) |
Definition at line 416 of file ExpressionBuilder.C.
| unsigned int ExpressionBuilder::EBTerm::substitute | ( | const EBSubstitutionRuleList & | rules | ) |
Definition at line 424 of file ExpressionBuilder.C.
| ExpressionBuilder::EBTerm::UNARY_OP_IMPLEMENT | ( | - | , |
| NEG | |||
| ) |
|
friend |
Binary functions.
|
friend |
Definition at line 13 of file ExpressionBuilder.C.
|
friend |
Definition at line 19 of file ExpressionBuilder.C.
|
friend |
Definition at line 27 of file ExpressionBuilder.C.
|
friend |
Definition at line 35 of file ExpressionBuilder.C.
Definition at line 677 of file ExpressionBuilder.h.
|
protected |
Definition at line 410 of file ExpressionBuilder.h.
Referenced by BINARY_FUNC_IMPLEMENT(), and operator<<().
1.8.14