1 #ifndef MATH_ExpressionClassFactory_H
2 #define MATH_ExpressionClassFactory_H
38 SV::MATH_UnaryOperator mUOperators;
39 SV::MATH_BinaryOperator mBOperators;
40 SV::MATH_FunctionNode mFunctions;
69 inline static SP::MATH_ExpressionClassFactory
New() {
116 const SVC::CORE_Object& newParameters)
const;
140 SP::MATH_ChildExpression NewNodeInstance(
const tString& formula,
int& retCode)
const;
virtual ~MATH_ExpressionClassFactory(void)
destroy a MATH_ExpressionClassFactory
Definition: MATH_ExpressionClassFactory.cpp:146
void resetFunctionsList()
reset functions list
Definition: MATH_ExpressionClassFactory.h:80
static const tFlag END_ARGUMENT
Definition: MATH_ExpressionClassFactory.h:31
void addToBinaryOperatorsList(SP::MATH_BinaryOperator op)
add an binary operator to binary operators list
Definition: MATH_ExpressionClassFactory.h:106
static const tFlag UNKNOWN_NODE
Definition: MATH_ExpressionClassFactory.h:29
static const tFlag BLOCK_MISMATCHED
Definition: MATH_ExpressionClassFactory.h:30
this class describes a class factory to generate MATH_Expression classes. The nodes lists are initial...
Definition: MATH_ExpressionClassFactory.h:22
void resetBinaryOperatorsList()
reset binary operators list
Definition: MATH_ExpressionClassFactory.h:90
void resetUnaryOperatorsList()
reset unary operators list
Definition: MATH_ExpressionClassFactory.h:85
virtual SP::CORE_Object NewInstance(const tString &name, const SVC::CORE_Object &newParameters) const
create an instance of a class
Definition: MATH_ExpressionClassFactory.cpp:150
static const tFlag EMPTY
Definition: MATH_ExpressionClassFactory.h:32
DEFINE_SPTR(MATH_ExpressionClassFactory)
static SP::MATH_ExpressionClassFactory New()
create a class factory
Definition: MATH_ExpressionClassFactory.h:69
#define tString
Definition: types.h:36
static const tFlag SPACE
Definition: MATH_ExpressionClassFactory.h:33
void addToFunctionsList(SP::MATH_FunctionNode fct)
add a function node to functions list
Definition: MATH_ExpressionClassFactory.h:96
virtual void initNodesLists()
init the node lists
Definition: MATH_ExpressionClassFactory.cpp:81
this class describes a class factory to generate classes for User Interface Software ...
Definition: CORE_ClassFactory.h:18
MATH_ExpressionClassFactory()
build a MATH_ExpressionClassFactory
Definition: MATH_ExpressionClassFactory.cpp:78
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106
#define tFlag
Definition: types.h:14
void addToUnaryOperatorsList(SP::MATH_UnaryOperator op)
add an unary operator to unary operators list
Definition: MATH_ExpressionClassFactory.h:101