23 #ifndef COPASI_CCopasiXMLParser
24 #define COPASI_CCopasiXMLParser
305 std::map<std::string , std::vector < std::pair < std::vector <CRegisteredObjectName >*,
size_t > > >
reportReferenceMap;
339 #ifdef COPASI_TEMPLATE
340 class TEMPLATEElement:
365 virtual ~TEMPLATEElement();
372 virtual void start(
const XML_Char *pszName,
373 const XML_Char **papszAttrs);
379 virtual void end(
const XML_Char *pszName);
385 etcElement * mpetcElement;
388 #endif // COPASI_TEMPLATE
426 virtual void start(
const XML_Char *pszName,
427 const XML_Char **papszAttrs);
433 virtual void end(
const XML_Char *pszName);
474 virtual void start(
const XML_Char *pszName,
475 const XML_Char **papszAttrs);
481 virtual void end(
const XML_Char *pszName);
531 virtual void start(
const XML_Char *pszName,
532 const XML_Char **papszAttrs);
538 virtual void end(
const XML_Char *pszName);
572 virtual void start(
const XML_Char *pszName,
573 const XML_Char **papszAttrs);
579 virtual void end(
const XML_Char *pszName);
614 virtual void start(
const XML_Char *pszName,
615 const XML_Char **papszAttrs);
621 virtual void end(
const XML_Char *pszName);
655 virtual void start(
const XML_Char *pszName,
656 const XML_Char **papszAttrs);
662 virtual void end(
const XML_Char *pszName);
697 virtual void start(
const XML_Char *pszName,
698 const XML_Char **papszAttrs);
704 virtual void end(
const XML_Char *pszName);
739 virtual void start(
const XML_Char *pszName,
740 const XML_Char **papszAttrs);
746 virtual void end(
const XML_Char *pszName);
781 virtual void start(
const XML_Char *pszName,
782 const XML_Char **papszAttrs);
788 virtual void end(
const XML_Char *pszName);
822 virtual void start(
const XML_Char *pszName,
823 const XML_Char **papszAttrs);
829 virtual void end(
const XML_Char *pszName);
864 virtual void start(
const XML_Char *pszName,
865 const XML_Char **papszAttrs);
871 virtual void end(
const XML_Char *pszName);
905 virtual void start(
const XML_Char *pszName,
906 const XML_Char **papszAttrs);
912 virtual void end(
const XML_Char *pszName);
947 virtual void start(
const XML_Char *pszName,
948 const XML_Char **papszAttrs);
954 virtual void end(
const XML_Char *pszName);
988 virtual void start(
const XML_Char *pszName,
989 const XML_Char **papszAttrs);
995 virtual void end(
const XML_Char *pszName);
1030 virtual void start(
const XML_Char *pszName,
1031 const XML_Char **papszAttrs);
1037 virtual void end(
const XML_Char *pszName);
1071 virtual void start(
const XML_Char *pszName,
1072 const XML_Char **papszAttrs);
1078 virtual void end(
const XML_Char *pszName);
1113 virtual void start(
const XML_Char *pszName,
1114 const XML_Char **papszAttrs);
1120 virtual void end(
const XML_Char *pszName);
1192 virtual void start(
const XML_Char *pszName,
1193 const XML_Char **papszAttrs);
1199 virtual void end(
const XML_Char *pszName);
1234 virtual void start(
const XML_Char *pszName,
1235 const XML_Char **papszAttrs);
1241 virtual void end(
const XML_Char *pszName);
1280 virtual void start(
const XML_Char *pszName,
1281 const XML_Char **papszAttrs);
1287 virtual void end(
const XML_Char *pszName);
1333 virtual void start(
const XML_Char *pszName,
1334 const XML_Char **papszAttrs);
1340 virtual void end(
const XML_Char *pszName);
1379 virtual void start(
const XML_Char *pszName,
1380 const XML_Char **papszAttrs);
1386 virtual void end(
const XML_Char *pszName);
1432 virtual void start(
const XML_Char *pszName,
1433 const XML_Char **papszAttrs);
1439 virtual void end(
const XML_Char *pszName);
1442 class MathMLElement;
1489 virtual void start(
const XML_Char *pszName,
1490 const XML_Char **papszAttrs);
1496 virtual void end(
const XML_Char *pszName);
1531 virtual void start(
const XML_Char *pszName,
1532 const XML_Char **papszAttrs);
1538 virtual void end(
const XML_Char *pszName);
1573 virtual void start(
const XML_Char *pszName,
1574 const XML_Char **papszAttrs);
1580 virtual void end(
const XML_Char *pszName);
1629 virtual void start(
const XML_Char *pszName,
1630 const XML_Char **papszAttrs);
1636 virtual void end(
const XML_Char *pszName);
1676 virtual void start(
const XML_Char *pszName,
1677 const XML_Char **papszAttrs);
1683 virtual void end(
const XML_Char *pszName);
1724 virtual void start(
const XML_Char *pszName,
1725 const XML_Char **papszAttrs);
1731 virtual void end(
const XML_Char *pszName);
1781 virtual void start(
const XML_Char *pszName,
1782 const XML_Char **papszAttrs);
1788 virtual void end(
const XML_Char *pszName);
1849 virtual void start(
const XML_Char *pszName,
1850 const XML_Char **papszAttrs);
1856 virtual void end(
const XML_Char *pszName);
1889 virtual void start(
const XML_Char *pszName,
1890 const XML_Char **papszAttrs);
1896 virtual void end(
const XML_Char *pszName);
1952 virtual void start(
const XML_Char *pszName,
1953 const XML_Char **papszAttrs);
1959 virtual void end(
const XML_Char *pszName);
1993 virtual void start(
const XML_Char *pszName,
1994 const XML_Char **papszAttrs);
2000 virtual void end(
const XML_Char *pszName);
2034 virtual void start(
const XML_Char *pszName,
2035 const XML_Char **papszAttrs);
2041 virtual void end(
const XML_Char *pszName);
2083 virtual void start(
const XML_Char *pszName,
2084 const XML_Char **papszAttrs);
2090 virtual void end(
const XML_Char *pszName);
2124 virtual void start(
const XML_Char *pszName,
2125 const XML_Char **papszAttrs);
2131 virtual void end(
const XML_Char *pszName);
2165 virtual void start(
const XML_Char *pszName,
2166 const XML_Char **papszAttrs);
2172 virtual void end(
const XML_Char *pszName);
2206 virtual void start(
const XML_Char *pszName,
2207 const XML_Char **papszAttrs);
2213 virtual void end(
const XML_Char *pszName);
2247 virtual void start(
const XML_Char *pszName,
2248 const XML_Char **papszAttrs);
2254 virtual void end(
const XML_Char *pszName);
2288 virtual void start(
const XML_Char *pszName,
2289 const XML_Char **papszAttrs);
2295 virtual void end(
const XML_Char *pszName);
2336 virtual void start(
const XML_Char *pszName,
2337 const XML_Char **papszAttrs);
2343 virtual void end(
const XML_Char *pszName);
2391 virtual void start(
const XML_Char *pszName,
2392 const XML_Char **papszAttrs);
2398 virtual void end(
const XML_Char *pszName);
2439 virtual void start(
const XML_Char *pszName,
2440 const XML_Char **papszAttrs);
2446 virtual void end(
const XML_Char *pszName);
2480 virtual void start(
const XML_Char *pszName,
2481 const XML_Char **papszAttrs);
2487 virtual void end(
const XML_Char *pszName);
2520 virtual void start(
const XML_Char *pszName,
2521 const XML_Char **papszAttrs);
2527 virtual void end(
const XML_Char *pszName);
2563 virtual void start(
const XML_Char *pszName,
2564 const XML_Char **papszAttrs);
2570 virtual void end(
const XML_Char *pszName);
2606 virtual void start(
const XML_Char *pszName,
2607 const XML_Char **papszAttrs);
2613 virtual void end(
const XML_Char *pszName);
2653 virtual void start(
const XML_Char *pszName,
2654 const XML_Char **papszAttrs);
2660 virtual void end(
const XML_Char *pszName);
2700 virtual void start(
const XML_Char *pszName,
2701 const XML_Char **papszAttrs);
2707 virtual void end(
const XML_Char *pszName);
2746 virtual void start(
const XML_Char *pszName,
2747 const XML_Char **papszAttrs);
2753 virtual void end(
const XML_Char *pszName);
2799 virtual void start(
const XML_Char *pszName,
2800 const XML_Char **papszAttrs);
2806 virtual void end(
const XML_Char *pszName);
2850 virtual void start(
const XML_Char *pszName,
2851 const XML_Char **papszAttrs);
2857 virtual void end(
const XML_Char *pszName);
2891 virtual void start(
const XML_Char *pszName,
2892 const XML_Char **papszAttrs);
2898 virtual void end(
const XML_Char *pszName);
2932 virtual void start(
const XML_Char *pszName,
2933 const XML_Char **papszAttrs);
2939 virtual void end(
const XML_Char *pszName);
2977 virtual void start(
const XML_Char *pszName,
2978 const XML_Char **papszAttrs);
2984 virtual void end(
const XML_Char *pszName);
2989 virtual void reset();
3023 virtual void start(
const XML_Char *pszName,
3024 const XML_Char **papszAttrs);
3030 virtual void end(
const XML_Char *pszName);
3089 virtual void start(
const XML_Char *pszName,
3090 const XML_Char **papszAttrs);
3096 virtual void end(
const XML_Char *pszName);
3145 virtual void start(
const XML_Char *pszName,
3146 const XML_Char **papszAttrs);
3152 virtual void end(
const XML_Char *pszName);
3195 virtual void start(
const XML_Char *pszName,
3196 const XML_Char **papszAttrs);
3202 virtual void end(
const XML_Char *pszName);
3237 virtual void start(
const XML_Char *pszName,
3238 const XML_Char **papszAttrs);
3244 virtual void end(
const XML_Char *pszName);
3278 virtual void start(
const XML_Char *pszName,
3279 const XML_Char **papszAttrs);
3285 virtual void end(
const XML_Char *pszName);
3310 virtual void start(
const XML_Char *pszName,
3311 const XML_Char **papszAttrs);
3313 virtual void end(
const XML_Char *pszName);
3335 virtual void start(
const XML_Char *pszName,
3336 const XML_Char **papszAttrs);
3338 virtual void end(
const XML_Char *pszName);
3356 virtual void start(
const XML_Char *pszName,
3357 const XML_Char **papszAttrs);
3359 virtual void end(
const XML_Char *pszName);
3381 virtual void start(
const XML_Char *pszName,
3382 const XML_Char **papszAttrs);
3384 virtual void end(
const XML_Char *pszName);
3402 virtual void start(
const XML_Char *pszName,
3403 const XML_Char **papszAttrs);
3405 virtual void end(
const XML_Char *pszName);
3428 virtual void start(
const XML_Char *pszName,
3429 const XML_Char **papszAttrs);
3431 virtual void end(
const XML_Char *pszName);
3449 virtual void start(
const XML_Char *pszName,
3450 const XML_Char **papszAttrs);
3452 virtual void end(
const XML_Char *pszName);
3476 virtual void start(
const XML_Char *pszName,
3477 const XML_Char **papszAttrs);
3479 virtual void end(
const XML_Char *pszName);
3497 virtual void start(
const XML_Char *pszName,
3498 const XML_Char **papszAttrs);
3500 virtual void end(
const XML_Char *pszName);
3522 virtual void start(
const XML_Char *pszName,
3523 const XML_Char **papszAttrs);
3525 virtual void end(
const XML_Char *pszName);
3543 virtual void start(
const XML_Char *pszName,
3544 const XML_Char **papszAttrs);
3546 virtual void end(
const XML_Char *pszName);
3568 virtual void start(
const XML_Char *pszName,
3569 const XML_Char **papszAttrs);
3571 virtual void end(
const XML_Char *pszName);
3589 virtual void start(
const XML_Char *pszName,
3590 const XML_Char **papszAttrs);
3592 virtual void end(
const XML_Char *pszName);
3618 virtual void start(
const XML_Char *pszName,
3619 const XML_Char **papszAttrs);
3621 virtual void end(
const XML_Char *pszName);
3656 virtual void start(
const XML_Char *pszName,
3657 const XML_Char **papszAttrs);
3663 virtual void end(
const XML_Char *pszName);
3698 virtual void start(
const XML_Char *pszName,
3699 const XML_Char **papszAttrs);
3705 virtual void end(
const XML_Char *pszName);
3739 virtual void start(
const XML_Char *pszName,
3740 const XML_Char **papszAttrs);
3746 virtual void end(
const XML_Char *pszName);
3779 virtual void start(
const XML_Char *pszName,
3780 const XML_Char **papszAttrs);
3786 virtual void end(
const XML_Char *pszName);
3820 virtual void start(
const XML_Char *pszName,
3821 const XML_Char **papszAttrs);
3827 virtual void end(
const XML_Char *pszName);
3861 virtual void start(
const XML_Char *pszName,
3862 const XML_Char **papszAttrs);
3868 virtual void end(
const XML_Char *pszName);
3901 virtual void start(
const XML_Char *pszName,
3902 const XML_Char **papszAttrs);
3908 virtual void end(
const XML_Char *pszName);
3942 virtual void start(
const XML_Char *pszName,
3943 const XML_Char **papszAttrs);
3949 virtual void end(
const XML_Char *pszName);
3983 virtual void start(
const XML_Char *pszName,
3984 const XML_Char **papszAttrs);
3990 virtual void end(
const XML_Char *pszName);
4024 virtual void start(
const XML_Char *pszName,
4025 const XML_Char **papszAttrs);
4031 virtual void end(
const XML_Char *pszName);
4066 virtual void start(
const XML_Char *pszName,
4067 const XML_Char **papszAttrs);
4073 virtual void end(
const XML_Char *pszName);
4106 virtual void start(
const XML_Char *pszName,
4107 const XML_Char **papszAttrs);
4113 virtual void end(
const XML_Char *pszName);
4146 virtual void start(
const XML_Char *pszName,
4147 const XML_Char **papszAttrs);
4153 virtual void end(
const XML_Char *pszName);
4186 virtual void start(
const XML_Char *pszName,
4187 const XML_Char **papszAttrs);
4193 virtual void end(
const XML_Char *pszName);
4226 virtual void start(
const XML_Char *pszName,
4227 const XML_Char **papszAttrs);
4233 virtual void end(
const XML_Char *pszName);
4267 virtual void start(
const XML_Char *pszName,
4268 const XML_Char **papszAttrs);
4274 virtual void end(
const XML_Char *pszName);
4308 virtual void start(
const XML_Char *pszName,
4309 const XML_Char **papszAttrs);
4315 virtual void end(
const XML_Char *pszName);
4349 virtual void start(
const XML_Char *pszName,
4350 const XML_Char **papszAttrs);
4356 virtual void end(
const XML_Char *pszName);
4389 virtual void start(
const XML_Char *pszName,
4390 const XML_Char **papszAttrs);
4396 virtual void end(
const XML_Char *pszName);
4430 virtual void start(
const XML_Char *pszName,
4431 const XML_Char **papszAttrs);
4437 virtual void end(
const XML_Char *pszName);
4471 virtual void start(
const XML_Char *pszName,
4472 const XML_Char **papszAttrs);
4478 virtual void end(
const XML_Char *pszName);
4512 virtual void start(
const XML_Char *pszName,
4513 const XML_Char **papszAttrs);
4519 virtual void end(
const XML_Char *pszName);
4553 virtual void start(
const XML_Char *pszName,
4554 const XML_Char **papszAttrs);
4560 virtual void end(
const XML_Char *pszName);
4594 virtual void start(
const XML_Char *pszName,
4595 const XML_Char **papszAttrs);
4601 virtual void end(
const XML_Char *pszName);
4635 virtual void start(
const XML_Char *pszName,
4636 const XML_Char **papszAttrs);
4642 virtual void end(
const XML_Char *pszName);
4679 virtual void start(
const XML_Char *pszName,
4680 const XML_Char **papszAttrs);
4686 virtual void end(
const XML_Char *pszName);
4723 virtual void start(
const XML_Char *pszName,
4724 const XML_Char **papszAttrs);
4730 virtual void end(
const XML_Char *pszName);
4764 virtual void start(
const XML_Char *pszName,
4765 const XML_Char **papszAttrs);
4771 virtual void end(
const XML_Char *pszName);
4806 virtual void start(
const XML_Char *pszName,
4807 const XML_Char **papszAttrs);
4813 virtual void end(
const XML_Char *pszName);
4841 const XML_Char **papszAttrs);
4888 int is_parameter_entity);
4912 const std::string & join =
" ");
4981 #endif // COPASI_CCopasiXMLParser
CLLineEnding * pLineEnding
virtual void end(const XML_Char *pszName)
virtual void end(const XML_Char *pszName)
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
virtual ~EllipseElement()
virtual void end(const XML_Char *pszName)
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
CCopasiVectorN< CFunction > * pFunctionList
ComplexElement(CCopasiXMLParser &parser, SCopasiXMLParserCommon &common)
virtual ~CompartmentElement()
virtual void end(const XML_Char *pszName)
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
ListOfEventsElement(CCopasiXMLParser &parser, SCopasiXMLParserCommon &common)
virtual ~ParameterGroupElement()
virtual void end(const XML_Char *pszName)
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
CPlotItem * pCurrentPlotItem
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
ListOfReportsElement(CCopasiXMLParser &parser, SCopasiXMLParserCommon &common)
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
GroupElement(CCopasiXMLParser &parser, SCopasiXMLParserCommon &common)
CCopasiVectorN< CCopasiTask > * pTaskList
SCopasiXMLParserCommon mCommon
virtual ~ReactionElement()
CPlotSpecification * pCurrentPlot
virtual void end(const XML_Char *pszName)
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
CLMetabGlyph * pMetaboliteGlyph
virtual void end(const XML_Char *pszName)
std::set< size_t > mEventOrders
virtual void onSkippedEntityHandler(const XML_Char *entityName, int is_parameter_entity)
CCompartment * mpCompartment
ListOfSubstratesElement * mpListOfSubstratesElement
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
ReportInstanceElement * mpReportElement
std::map< std::string, std::vector< std::pair< std::vector< CRegisteredObjectName > *, size_t > > > reportReferenceMap
CCopasiXMLInterface::EncodingType mCharacterDataEncoding
virtual void end(const XML_Char *pszName)
CCopasiDataModel * pDataModel
ParameterGroupElement * mpProblemElement
SBMLReferenceElement(CCopasiXMLParser &parser, SCopasiXMLParserCommon &common)
virtual void end(const XML_Char *pszName)
CListOfLayouts * pLayoutList
virtual void end(const XML_Char *pszName)
ListOfTasksElement(CCopasiXMLParser &parser, SCopasiXMLParserCommon &common)
ModelElement(CCopasiXMLParser &parser, SCopasiXMLParserCommon &common)
virtual ~TextGlyphElement()
UnknownElement mUnknownElement
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
virtual ~UnknownElement()
TextGlyphElement(CCopasiXMLParser &parser, SCopasiXMLParserCommon &common)
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
virtual ~InitialStateElement()
CurveElementElement(CCopasiXMLParser &parser, SCopasiXMLParserCommon &common)
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
std::map< std::string, std::vector< std::string > > SourceParameterKeys
std::vector< CModelEntity * > StateVariableList
CurveElement(CCopasiXMLParser &parser, SCopasiXMLParserCommon &common)
std::string FunctionDescription
virtual void end(const XML_Char *pszName)
virtual ~ListOfReportsElement()
void enableCharacterDataHandler(bool fEnable=true)
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
virtual void end(const XML_Char *pszName)
virtual void end(const XML_Char *pszName)
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
virtual ~ReactionGlyphElement()
virtual ~ListOfCallParametersElement()
std::stack< CXMLElementHandler< CCopasiXMLParser, SCopasiXMLParserCommon > * > mElementHandlerStack
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
virtual void end(const XML_Char *pszName)
virtual ~ComplexElement()
CCopasiVectorN< CCopasiTask > * getTaskList() const
virtual void end(const XML_Char *pszName)
ListOfCallParametersElement(CCopasiXMLParser &parser, SCopasiXMLParserCommon &common)
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
COutputDefinitionVector * pPlotList
EllipseElement(CCopasiXMLParser &parser, SCopasiXMLParserCommon &common)
virtual void end(const XML_Char *pszName)
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
ListOfColorDefinitionsElement(CCopasiXMLParser &parser, SCopasiXMLParserCommon &common)
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
std::pair< std::string, std::string > mAssignmentPair
virtual void onStartCdataSection()
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
BoundingBoxElement(CCopasiXMLParser &parser, SCopasiXMLParserCommon &common)
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
virtual ~ListOfGlobalStylesElement()
PlotItemElement(CCopasiXMLParser &parser, SCopasiXMLParserCommon &common)
virtual void end(const XML_Char *pszName)
virtual void end(const XML_Char *pszName)
ListOfConstantsElement * mpListOfConstantsElement
ListOfSlidersElement(CCopasiXMLParser &parser, SCopasiXMLParserCommon &common)
virtual ~ListOfReactionsElement()
ListOfParameterDescriptionsElement(CCopasiXMLParser &parser, SCopasiXMLParserCommon &common)
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
RectangleElement(CCopasiXMLParser &parser, SCopasiXMLParserCommon &common)
virtual ~ListOfModifiersElement()
virtual ~SBMLReferenceElement()
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
virtual void end(const XML_Char *pszName)
virtual ~ModelValueElement()
virtual ~ChannelSpecElement()
virtual void end(const XML_Char *pszName)
virtual ~ListOfCompartmentGlyphsElement()
ReportElement(CCopasiXMLParser &parser, SCopasiXMLParserCommon &common)
virtual void end(const XML_Char *pszName)
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
virtual ~LinearGradientElement()
PolygonElement(CCopasiXMLParser &parser, SCopasiXMLParserCommon &common)
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
KineticLawElement * mpKineticLawElement
virtual void start(const XML_Char *pszName, const XML_Char **papszAttrs)
ImageElement(CCopasiXMLParser &parser, SCopasiXMLParserCommon &common)