COPASI API
4.16.103
|
Public Member Functions | |
virtual void | end (const XML_Char *pszName) |
ReactionElement (CCopasiXMLParser &parser, SCopasiXMLParserCommon &common) | |
virtual void | start (const XML_Char *pszName, const XML_Char **papszAttrs) |
virtual | ~ReactionElement () |
![]() | |
CXMLElementHandler (CCopasiXMLParser &parser, SCopasiXMLParserCommon &common) | |
virtual void | end (const XML_Char *C_UNUSED(pszName)) |
virtual void | reset () |
virtual void | start (const XML_Char *C_UNUSED(pszName), const XML_Char **C_UNUSED(papszAttrs)) |
virtual | ~CXMLElementHandler () |
Private Types | |
enum | Element { Reaction = 0, MiriamAnnotation, Comment, ListOfUnsupportedAnnotations, ListOfSubstrates, ListOfProducts, ListOfModifiers, ListOfConstants, KineticLaw } |
Additional Inherited Members | |
![]() | |
void | addFix (const std::string &key, CCopasiObject *pObject) |
void | deleteCurrentHandler () |
![]() | |
SCopasiXMLParserCommon & | mCommon |
C_INT32 | mCurrentElement |
C_INT32 | mLastKnownElement |
CCopasiXMLParser & | mParser |
CXMLElementHandler * | mpCurrentHandler |
Definition at line 1123 of file CCopasiXMLParser.h.
|
private |
Enum of invoked parsers
Enumerator | |
---|---|
Reaction | |
MiriamAnnotation | |
Comment | |
ListOfUnsupportedAnnotations | |
ListOfSubstrates | |
ListOfProducts | |
ListOfModifiers | |
ListOfConstants | |
KineticLaw |
Definition at line 1131 of file CCopasiXMLParser.h.
CCopasiXMLParser::ReactionElement::ReactionElement | ( | CCopasiXMLParser & | parser, |
SCopasiXMLParserCommon & | common | ||
) |
Constructor
Definition at line 3725 of file CCopasiXMLParser.cpp.
|
virtual |
Destructor
Definition at line 3735 of file CCopasiXMLParser.cpp.
References pdelete.
|
virtual |
End element handler
const | XML_Char *pszName |
Definition at line 3918 of file CCopasiXMLParser.cpp.
References SCopasiXMLParserCommon::CharacterData, CCopasiMessage::EXCEPTION, CReaction::getKey(), CAnnotation::getUnsupportedAnnotations(), CCopasiXMLParser::mCommon, MCXML, CExpatTemplate< CExpat >::mParser, SCopasiXMLParserCommon::pReaction, CAnnotation::setMiriamAnnotation(), CAnnotation::setNotes(), START_ELEMENT, and UNKNOWN_ELEMENT.
|
virtual |
Start element handler
const | XML_Char *pszName |
const | XML_Char **papszAttrs |
Definition at line 3744 of file CCopasiXMLParser.cpp.
References CCopasiVectorN< CType >::add(), CCopasiMessage::EXCEPTION, fatalError, CKeyFactory::get(), CModel::getReactions(), SCopasiXMLParserCommon::KeyMap, CCopasiXMLParser::mCommon, MCXML, CExpatTemplate< CExpat >::mParser, SCopasiXMLParserCommon::pModel, SCopasiXMLParserCommon::pReaction, CReaction::setFast(), CCopasiObject::setObjectName(), CReaction::setReversible(), CReaction::setSBMLId(), and UNKNOWN_ELEMENT.
|
private |
The key in the CopasiML gile
Definition at line 1172 of file CCopasiXMLParser.h.
|
private |
Pointer to ListOfConstantsElement element handler.
Definition at line 1167 of file CCopasiXMLParser.h.
|
private |
Pointer to ListOfConstantsElement element handler.
Definition at line 1162 of file CCopasiXMLParser.h.
|
private |
Pointer to ListOfModifiersElement element handler.
Definition at line 1157 of file CCopasiXMLParser.h.
|
private |
Pointer to ListOfProductsElement element handler.
Definition at line 1152 of file CCopasiXMLParser.h.
|
private |
Pointer to ListOfSubstratesElement element handler.
Definition at line 1147 of file CCopasiXMLParser.h.