Start element handler
- Parameters
-
const | XML_Char *pszName |
const | XML_Char **papszAttrs |
Definition at line 8491 of file CCopasiXMLParser.cpp.
References CCopasiParameterGroup::assertParameter(), CCopasiTask::crosssection, CCopasiMessage::EXCEPTION, CCopasiTask::fluxMode, CCopasiTask::getProblem(), CCopasiTask::lna, CCopasiTask::lyap, CCopasiTask::mca, CCopasiXMLParser::mCommon, MCXML, CCopasiTask::moieties, CExpatTemplate< CExpat >::mParser, CCopasiTask::optimization, CCopasiTask::parameterFitting, SCopasiXMLParserCommon::pCurrentTask, SCopasiXMLParserCommon::pModel, SCopasiXMLParserCommon::pTaskList, CCopasiMessage::RAW, CCopasiTask::scan, CCopasiTask::sens, CCopasiProblem::setModel(), CCopasiTask::setScheduled(), CCopasiTask::setUpdateModel(), CCopasiTask::steadyState, CCopasiParameter::STRING, CCopasiTask::timeCourse, toEnum(), CCopasiTask::tssAnalysis, UNKNOWN_ELEMENT, CCopasiTask::unset, and CCopasiTask::XMLType.
8499 bool Scheduled =
false;
8500 bool UpdateModel =
false;
8506 if (strcmp(pszName,
"Task"))
8601 if (!strcmp(pszName,
"Report"))
8615 if (!strcmp(pszName,
"Problem"))
8630 if (!strcmp(pszName,
"Method"))
CCopasiVectorN< CCopasiTask > * pTaskList
ReportInstanceElement * mpReportElement
ParameterGroupElement * mpProblemElement
UnknownElement mUnknownElement
void setScheduled(const bool &scheduled)
CCopasiProblem * getProblem()
static bool toBool(const char *attribute)
const char * getAttributeValue(const std::string &name, const char **attributes, const bool &required=true) const
CCopasiXMLParser & mParser
SCopasiXMLParserCommon & mCommon
virtual bool setModel(CModel *pModel)
void addFix(const std::string &key, CCopasiObject *pObject)
static const char * XMLType[]
virtual void onStartElement(const XML_Char *pszName, const XML_Char **papszAttrs)
void pushElementHandler(CXMLElementHandler< CCopasiXMLParser, SCopasiXMLParserCommon > *elementHandler)
MethodElement * mpMethodElement
CCopasiTask * pCurrentTask
CType toEnum(const char *attribute, const char **enumNames, const CType &enumDefault)
CXMLElementHandler * mpCurrentHandler
int getCurrentLineNumber() const
CCopasiParameter * assertParameter(const std::string &name, const CCopasiParameter::Type type, const CType &defaultValue)
void setDerivedElement(CCopasiParameterGroup *pDerivedElement)
C_INT32 mLastKnownElement
void setUpdateModel(const bool &updateModel)