|
bool | addChild (CCopasiNode< Data > *pChild, CCopasiNode< Data > *pAfter=NULL) |
|
| CEvaluationNodeVector () |
|
| CEvaluationNodeVector (const CEvaluationNodeVector &src) |
|
| CEvaluationNodeVector (const SubType &subType, const Data &data) |
|
virtual std::string | getBerkeleyMadonnaString (const std::vector< std::string > &children) const |
|
virtual std::string | getCCodeString (const std::vector< std::string > &children) const |
|
virtual std::string | getDisplayString (const std::vector< std::string > &children) const |
|
virtual std::string | getInfix (const std::vector< std::string > &children) const |
|
const std::vector< CEvaluationNode * > & | getNodes () const |
|
virtual CValidatedUnit | getUnit (const CMathContainer &container, const std::vector< CValidatedUnit > &units) const |
|
virtual std::string | getXPPString (const std::vector< std::string > &children) const |
|
virtual CValidatedUnit | setUnit (const CMathContainer &container, const std::map< CEvaluationNode *, CValidatedUnit > ¤tUnits, std::map< CEvaluationNode *, CValidatedUnit > &targetUnits) const |
|
virtual ASTNode * | toAST (const CDataModel *pDataModel) const |
|
virtual | ~CEvaluationNodeVector () |
|
void | addChildren (const std::vector< CEvaluationNode * > &children) |
|
std::string | buildBerkeleyMadonnaString () const |
|
std::string | buildCCodeString () const |
|
std::string | buildDisplayString () const |
|
std::string | buildInfix () const |
|
std::string | buildMMLString (bool expand, const std::vector< std::vector< std::string > > &variables) const |
|
std::string | buildXPPString () const |
|
virtual void | calculate () |
|
| CEvaluationNode () |
|
| CEvaluationNode (const CEvaluationNode &src) |
|
virtual CIssue | compile () |
|
CEvaluationNode * | copyBranch () const |
|
CEvaluationNode * | copyNode (CEvaluationNode *child1, CEvaluationNode *child2) const |
|
CEvaluationNode * | copyNode (const std::vector< CEvaluationNode * > &children) const |
|
const CEvaluationNode * | findTopMinus (const std::vector< CFunctionAnalyzer::CValue > &callParameters) const |
|
virtual std::string | getMMLString (const std::vector< std::string > &children, bool expand, const std::vector< std::vector< std::string > > &variables) const |
|
const CEvaluationTree * | getTree () const |
|
const C_FLOAT64 * | getValuePointer () const |
|
const ValueType & | getValueType () const |
|
virtual bool | isBoolean () const |
|
const MainType & | mainType () const |
|
bool | operator!= (const CEvaluationNode &right) const |
|
bool | operator< (const CEvaluationNode &rhs) |
|
bool | operator< (const CEvaluationNode &right) const |
|
bool | operator== (const CEvaluationNode &right) const |
|
void | printRecursively () const |
|
void | printRecursively (std::ostream &os, int indent=0) const |
|
void | setTree (const CEvaluationTree *pTree) |
|
virtual CIssue | setValueType (const ValueType &valueType) |
|
virtual CEvaluationNode * | simplifyNode (const std::vector< CEvaluationNode * > &children) const |
|
CEvaluationNode * | splitBranch (const CEvaluationNode *splitnode, bool left) const |
|
const SubType & | subType () const |
|
virtual | ~CEvaluationNode () |
|
virtual bool | addChild (CCopasiNode< Data > *pChild, CCopasiNode< Data > *pAfter=NULL) |
|
bool | addSibling (CCopasiNode< Data > *pSibling, CCopasiNode< Data > *pAfter=NULL) |
|
| CCopasiNode (CCopasiNode< Data > *pParent=NULL) |
|
| CCopasiNode (const CCopasiNode< Data > &src) |
|
| CCopasiNode (const Data &data, CCopasiNode< Data > *pParent=NULL) |
|
bool | deleteChildren () |
|
CCopasiNode< Data > * | getChild () |
|
const CCopasiNode< Data > * | getChild () const |
|
CCopasiNode< Data > * | getChild (const size_t &index) |
|
const CCopasiNode< Data > * | getChild (const size_t &index) const |
|
virtual Data & | getData () |
|
virtual const Data & | getData () const |
|
CCopasiNode< Data > * | getNext () |
|
const CCopasiNode< Data > * | getNext () const |
|
CCopasiNode< Data > * | getNextNonChild () |
|
const CCopasiNode< Data > * | getNextNonChild () const |
|
size_t | getNumChildren () const |
|
CCopasiNode< Data > * | getParent () |
|
const CCopasiNode< Data > * | getParent () const |
|
CCopasiNode< Data > * | getSibling () |
|
const CCopasiNode< Data > * | getSibling () const |
|
virtual bool | removeChild (CCopasiNode< Data > *pChild) |
|
virtual bool | setData (const Data &data) |
|
virtual | ~CCopasiNode () |
|
|
enum class | MainType {
INVALID
, NUMBER
, CONSTANT
, OPERATOR
,
OBJECT
, FUNCTION
, CALL
, STRUCTURE
,
CHOICE
, VARIABLE
, WHITESPACE
, LOGICAL
,
MV_FUNCTION
, VECTOR
, DELAY
, UNIT
,
__SIZE
} |
|
enum class | SubType {
DEFAULT
, DELAY
, IF
, VECTOR
,
CN
, DOUBLE
, FUNCTION
, LOG
,
OPEN
, PI
, POWER
, EXPRESSION
,
POINTER
, EXPONENTIALE
, INTEGER
, LOG10
,
MULTIPLY
, OR
, VECTOROPEN
, COMMA
,
DIVIDE
, ENOTATION
, EXP
, True
,
XOR
, RATIONALE
, AND
, CLOSE
,
False
, MODULUS
, SIN
, VECTORCLOSE
,
COS
, EQ
, Infinity
, PLUS
,
NaN
, MINUS
, NE
, TAN
,
REMAINDER
, GT
, SEC
, CSC
,
GE
, COT
, LT
, LE
,
SINH
, COSH
, TANH
, SECH
,
CSCH
, COTH
, ARCSIN
, ARCCOS
,
ARCTAN
, ARCSEC
, ARCCSC
, ARCCOT
,
ARCSINH
, ARCCOSH
, ARCTANH
, ARCSECH
,
ARCCSCH
, ARCCOTH
, SQRT
, ABS
,
FLOOR
, CEIL
, FACTORIAL
, NOT
,
RUNIFORM
, RNORMAL
, MAX
, MIN
,
RGAMMA
, RPOISSON
, SIGN
, AVOGADRO
,
INVALID
, __SIZE
} |
|
enum class | ValueType { Unknown
, Boolean
, Number
, __SIZE
} |
|
typedef std::string | Data |
|
static const CEnumAnnotation< std::string, MainType > | MainTypeName |
|
static const CEnumAnnotation< std::string, SubType > | SubTypeName |
|
| CEvaluationNode (const MainType &type, const SubType &subType, const Data &data) |
|
bool | setChild (CCopasiNode< Data > *pChild) |
|
bool | setParent (CCopasiNode< Data > *pParent) |
|
bool | setSibling (CCopasiNode< Data > *pSibling) |
|
MainType | mMainType |
|
class CEvaluationNode::CPrecedence | mPrecedence |
|
const CEvaluationTree * | mpTree |
|
const C_FLOAT64 * | mpValue |
|
SubType | mSubType |
|
C_FLOAT64 | mValue |
|
ValueType | mValueType |
|
Data | mData |
|
This is the class for nodes presenting operators used in an evaluation trees.