776 const char * Reversible;
791 if (strcmp(pszName,
"Function"))
827 if (!strcmp(Reversible,
"true"))
829 else if (!strcmp(Reversible,
"false"))
858 std::ostringstream ss;
859 ss << Name <<
" [" << Counter <<
"]";
890 std::ostringstream ss;
891 ss << Name <<
" [" << Counter <<
"]";
916 std::ostringstream ss;
917 ss << Name <<
" [" << Counter <<
"]";
942 if (!strcmp(pszName,
"MiriamAnnotation"))
949 if (!strcmp(pszName,
"Comment"))
956 if (!strcmp(pszName,
"ListOfUnsupportedAnnotations"))
963 if (!strcmp(pszName,
"Expression"))
965 else if (!strcmp(pszName,
"MathML"))
982 if (strcmp(pszName,
"ListOfParameterDescriptions"))
CCopasiVectorN< CFunction > * pFunctionList
UnknownElement mUnknownElement
const char * getAttributeValue(const std::string &name, const char **attributes, const bool &required=true) const
CCopasiXMLParser & mParser
virtual size_t getIndex(const std::string &name) const
std::map< std::string, CExpression * > mKey2ObjectiveFunction
void setReversible(const TriLogic &reversible)
SCopasiXMLParserCommon & mCommon
CExpression * mpExpression
std::map< size_t, std::string > mFunctionParameterKeyMap
ListOfParameterDescriptionsElement * mpListOfParameterDescriptionsElement
virtual void onStartElement(const XML_Char *pszName, const XML_Char **papszAttrs)
void pushElementHandler(CXMLElementHandler< CCopasiXMLParser, SCopasiXMLParserCommon > *elementHandler)
CharacterDataElement mCharacterDataElement
std::set< size_t > mExistingFunctionIndex
CType toEnum(const char *attribute, const char **enumNames, const CType &enumDefault)
MiriamAnnotationElement mMiriamAnnotationElement
ListOfUnsupportedAnnotationsElement mListOfUnsupportedAnnotationsElement
The class for handling a chemical kinetic function.
CXMLElementHandler * mpCurrentHandler
int getCurrentLineNumber() const
static const char * XMLType[]
CommentElement mCommentElement
C_INT32 mLastKnownElement
bool setObjectName(const std::string &name)
MathMLElement * mpMathMLElement
static CEvaluationTree * create(CEvaluationTree::Type type)