MBDyn-1.7.3
|
#include <evaluator.h>
Public Types | |
enum | EEFlags { EE_NONE = 0x0U, EE_CONSTIFY = 0x1U, EE_OPTIMIZE = EE_CONSTIFY } |
Public Member Functions | |
virtual | ~ExpressionElement (void) |
virtual TypedValue | Eval (void) const =0 |
virtual std::ostream & | Output (std::ostream &out) const =0 |
Static Public Member Functions | |
static unsigned | GetFlags (void) |
static void | SetFlag (EEFlags f) |
static void | ClearFlag (EEFlags f) |
static bool | IsFlag (EEFlags f) |
Static Protected Attributes | |
static unsigned | m_uEEFlags |
Definition at line 42 of file evaluator.h.
Enumerator | |
---|---|
EE_NONE | |
EE_CONSTIFY | |
EE_OPTIMIZE |
Definition at line 44 of file evaluator.h.
|
inlinevirtual |
Definition at line 56 of file evaluator.h.
|
inlinestatic |
|
pure virtual |
Implemented in EE_Func, EE_StmtList, EE_DeclareAssign, EE_Assign, EE_Power, EE_Not_Equal, EE_Equal_Equal, EE_Lesser_Equal, EE_Lesser, EE_Greater_Equal, EE_Greater, EE_XOR, EE_NOT, EE_OR, EE_AND, EE_Unary_minus, EE_Divide, EE_Multiply, EE_Modulus, EE_Minus, EE_Plus, EE_Var, and EE_Value.
Referenced by EECreate(), EE_Plus::Eval(), EE_Minus::Eval(), EE_Modulus::Eval(), EE_Multiply::Eval(), EE_Divide::Eval(), EE_Unary_minus::Eval(), EE_AND::Eval(), EE_OR::Eval(), EE_NOT::Eval(), EE_XOR::Eval(), EE_Greater::Eval(), EE_Greater_Equal::Eval(), EE_Lesser::Eval(), EE_Lesser_Equal::Eval(), EE_Equal_Equal::Eval(), EE_Not_Equal::Eval(), EE_Power::Eval(), EE_Assign::Eval(), EE_DeclareAssign::Eval(), EE_StmtList::Eval(), MathParser::Get(), and MathParser::GetLastStmt().
|
inlinestatic |
|
pure virtual |
Implemented in EE_Func, EE_StmtList, EE_DeclareAssign, EE_Assign, EE_Power, EE_Not_Equal, EE_Equal_Equal, EE_Lesser_Equal, EE_Lesser, EE_Greater_Equal, EE_Greater, EE_XOR, EE_NOT, EE_OR, EE_AND, EE_Unary_minus, EE_Divide, EE_Multiply, EE_Modulus, EE_Minus, EE_Plus, EE_Var, and EE_Value.
Referenced by MathParser::Get(), MathParser::GetLastStmt(), EE_Plus::Output(), EE_Minus::Output(), EE_Modulus::Output(), EE_Multiply::Output(), EE_Divide::Output(), EE_Unary_minus::Output(), EE_AND::Output(), EE_OR::Output(), EE_NOT::Output(), EE_XOR::Output(), EE_Greater::Output(), EE_Greater_Equal::Output(), EE_Lesser::Output(), EE_Lesser_Equal::Output(), EE_Equal_Equal::Output(), EE_Not_Equal::Output(), EE_Power::Output(), EE_Assign::Output(), EE_DeclareAssign::Output(), EE_StmtList::Output(), and EE_Func::Output().
|
inlinestatic |
|
staticprotected |
Definition at line 53 of file evaluator.h.
Referenced by ClearFlag(), GetFlags(), IsFlag(), and SetFlag().