COPASI API  4.16.103
Public Member Functions | Public Attributes | List of all members
SCopasiXMLParserCommon Struct Reference

#include <CCopasiXMLParser.h>

Collaboration diagram for SCopasiXMLParserCommon:
Collaboration graph
[legend]

Public Member Functions

 SCopasiXMLParserCommon ()
 

Public Attributes

std::string CharacterData
 
std::string FunctionDescription
 
CKeyFactory KeyMap
 
std::vector< std::pair
< std::string, std::string > > 
mAssignments
 
std::map< size_t, std::string > mFunctionParameterKeyMap
 
std::map< std::string,
CExpression * > 
mKey2ObjectiveFunction
 
std::stack
< CModelParameterGroup * > 
ModelParameterGroupStack
 
int mParameterGroupLevel
 
CExpressionmpExpression
 
bool mPredefinedFunction
 
std::stack
< CCopasiParameterGroup * > 
ParameterGroupStack
 
CLCompartmentGlyphpCompartmentGlyph
 
CPlotDataChannelSpecpCurrentChannelSpec
 
CLayoutpCurrentLayout
 
CModelParameterpCurrentModelParameter
 
CCopasiParameterpCurrentParameter
 
CPlotSpecificationpCurrentPlot
 
CPlotItempCurrentPlotItem
 
CCopasiTaskpCurrentTask
 
CLCurvepCurve
 
CCopasiDataModelpDataModel
 
CEventpEvent
 
CEventAssignmentpEventAssignment
 
CFunctionpFunction
 
CCopasiVectorN< CFunction > * pFunctionList
 
CFunctionParameterpFunctionVariable
 
CLGeneralGlyphpGeneralGlyph
 
CLGradientBasepGradient
 
CLGrouppGroup
 
SCopasiXMLGUIpGUI
 
CListOfLayoutspLayoutList
 
CLLineEndingpLineEnding
 
CLLineSegmentpLineSegment
 
std::vector< CLRenderPoint * > * pListOfCurveElements
 
CLMetabGlyphpMetaboliteGlyph
 
CLMetabReferenceGlyphpMetaboliteReferenceGlyph
 
CModelpModel
 
COutputDefinitionVectorpPlotList
 
CReactionpReaction
 
CLReactionGlyphpReactionGlyph
 
CLRenderInformationBasepRenderInformation
 
CReportDefinitionpReport
 
CReportDefinitionVectorpReportList
 
CLStylepStyle
 
CCopasiVectorN< CCopasiTask > * pTaskList
 
CLTextpText
 
CLTextGlyphpTextGlyph
 
CVersionpVersion
 
std::map< std::string,
std::vector< std::pair
< std::vector
< CRegisteredObjectName >
*, size_t > > > 
reportReferenceMap
 
std::map< std::string,
std::vector< std::string > > 
SourceParameterKeys
 
std::vector< CModelEntity * > StateVariableList
 
std::map< std::string,
std::vector< CCopasiTask * > > 
taskReferenceMap
 
std::vector< std::string > UnmappedKeyParameters
 

Detailed Description

Definition at line 87 of file CCopasiXMLParser.h.

Constructor & Destructor Documentation

SCopasiXMLParserCommon::SCopasiXMLParserCommon ( )

Default Constructor

Definition at line 14586 of file CCopasiXMLParser.cpp.

14586  :
14587  pVersion(NULL),
14588  pModel(NULL),
14589  CharacterData(),
14590  mAssignments(),
14591  pFunctionList(NULL),
14592  pFunction(NULL),
14593  pFunctionVariable(NULL),
14597  mpExpression(NULL),
14599  pReaction(NULL),
14600  pEvent(NULL),
14601  pEventAssignment(NULL),
14603  KeyMap(),
14605  pTaskList(NULL),
14606  pReportList(NULL),
14607  pPlotList(NULL),
14608  pReport(NULL),
14609  pCurrentTask(NULL),
14610  pCurrentParameter(NULL),
14613  pCurrentModelParameter(NULL),
14614  pCurrentPlot(NULL),
14615  pCurrentPlotItem(NULL),
14616  pCurrentChannelSpec(NULL),
14618  pLayoutList(NULL),
14619  pCurrentLayout(NULL),
14620  pCompartmentGlyph(NULL),
14621  pMetaboliteGlyph(NULL),
14622  pReactionGlyph(NULL),
14623  pTextGlyph(NULL),
14624  //pAdditionalGO(NULL),
14625  pGeneralGlyph(NULL),
14626  pCurve(NULL),
14627  pLineSegment(NULL),
14629  pRenderInformation(NULL),
14630  pGradient(NULL),
14631  pLineEnding(NULL),
14632  pStyle(NULL),
14633  pGroup(NULL),
14634  pText(NULL),
14635  pListOfCurveElements(NULL),
14637  taskReferenceMap(),
14639  pGUI(NULL),
14640  pDataModel(NULL)
14641 {}
CLLineEnding * pLineEnding
CCopasiVectorN< CFunction > * pFunctionList
CCopasiVectorN< CCopasiTask > * pTaskList
CPlotSpecification * pCurrentPlot
CLMetabGlyph * pMetaboliteGlyph
std::map< std::string, std::vector< std::pair< std::vector< CRegisteredObjectName > *, size_t > > > reportReferenceMap
CCopasiDataModel * pDataModel
CListOfLayouts * pLayoutList
std::map< std::string, std::vector< std::string > > SourceParameterKeys
std::vector< CModelEntity * > StateVariableList
COutputDefinitionVector * pPlotList
CLGradientBase * pGradient
CPlotDataChannelSpec * pCurrentChannelSpec
CLCompartmentGlyph * pCompartmentGlyph
std::map< std::string, CExpression * > mKey2ObjectiveFunction
CLRenderInformationBase * pRenderInformation
std::map< size_t, std::string > mFunctionParameterKeyMap
CLGeneralGlyph * pGeneralGlyph
CReportDefinitionVector * pReportList
CLMetabReferenceGlyph * pMetaboliteReferenceGlyph
CLLineSegment * pLineSegment
std::stack< CModelParameterGroup * > ModelParameterGroupStack
std::vector< std::pair< std::string, std::string > > mAssignments
CCopasiParameter * pCurrentParameter
std::map< std::string, std::vector< CCopasiTask * > > taskReferenceMap
std::vector< CLRenderPoint * > * pListOfCurveElements
CReportDefinition * pReport
CLReactionGlyph * pReactionGlyph
CEventAssignment * pEventAssignment
CFunctionParameter * pFunctionVariable
std::vector< std::string > UnmappedKeyParameters
CModelParameter * pCurrentModelParameter
std::stack< CCopasiParameterGroup * > ParameterGroupStack

Member Data Documentation

std::string SCopasiXMLParserCommon::CharacterData
std::string SCopasiXMLParserCommon::FunctionDescription

The description of the function.

Definition at line 136 of file CCopasiXMLParser.h.

CKeyFactory SCopasiXMLParserCommon::KeyMap
std::vector<std::pair<std::string, std::string> > SCopasiXMLParserCommon::mAssignments

Storage for assignments.

Definition at line 115 of file CCopasiXMLParser.h.

Referenced by CCopasiXMLParser::EventElement::start().

std::map< size_t, std::string > SCopasiXMLParserCommon::mFunctionParameterKeyMap
std::map< std::string, CExpression * > SCopasiXMLParserCommon::mKey2ObjectiveFunction

A map of a key to the infix of the objective function. This is only needed for old files containing the objective function as part of the list of function definitions

Definition at line 158 of file CCopasiXMLParser.h.

Referenced by CCopasiXMLParser::TaskElement::end(), and CCopasiXMLParser::FunctionElement::start().

std::stack< CModelParameterGroup * > SCopasiXMLParserCommon::ModelParameterGroupStack
int SCopasiXMLParserCommon::mParameterGroupLevel

Nesting level of the currently processed parameter group

Definition at line 293 of file CCopasiXMLParser.h.

Referenced by CCopasiXMLParser::CCopasiXMLParser().

CExpression* SCopasiXMLParserCommon::mpExpression

Pointer to the currently processed expression. This is only needed for old files containing the objective function as part of the list of function definitions

Definition at line 152 of file CCopasiXMLParser.h.

Referenced by CCopasiXMLParser::FunctionElement::end(), and CCopasiXMLParser::FunctionElement::start().

bool SCopasiXMLParserCommon::mPredefinedFunction

Indicates whether the current function was already in the list;

Definition at line 141 of file CCopasiXMLParser.h.

Referenced by CCopasiXMLParser::FunctionElement::end(), CCopasiXMLParser::ParameterDescriptionElement::start(), and CCopasiXMLParser::FunctionElement::start().

std::stack< CCopasiParameterGroup * > SCopasiXMLParserCommon::ParameterGroupStack

Stack of parameter groups which is needed since nesting of groups is possible.

Definition at line 228 of file CCopasiXMLParser.h.

Referenced by CCopasiXMLParser::ParameterGroupElement::end(), CCopasiXMLParser::ParameterGroupElement::setDerivedElement(), and CCopasiXMLParser::ParameterGroupElement::start().

CLCompartmentGlyph* SCopasiXMLParserCommon::pCompartmentGlyph
CPlotDataChannelSpec* SCopasiXMLParserCommon::pCurrentChannelSpec

Pointer to the currently processed channel.

Definition at line 254 of file CCopasiXMLParser.h.

Referenced by CCopasiXMLParser::ListOfChannelsElement::end(), and CCopasiXMLParser::ChannelSpecElement::start().

CLayout* SCopasiXMLParserCommon::pCurrentLayout
CModelParameter* SCopasiXMLParserCommon::pCurrentModelParameter
CCopasiParameter* SCopasiXMLParserCommon::pCurrentParameter
CPlotSpecification* SCopasiXMLParserCommon::pCurrentPlot
CPlotItem* SCopasiXMLParserCommon::pCurrentPlotItem
CCopasiTask* SCopasiXMLParserCommon::pCurrentTask
CLCurve* SCopasiXMLParserCommon::pCurve
CCopasiDataModel* SCopasiXMLParserCommon::pDataModel
CEvent* SCopasiXMLParserCommon::pEvent

Pointer to the currently processed event

Definition at line 168 of file CCopasiXMLParser.h.

Referenced by CCopasiXMLParser::EventElement::end(), CCopasiXMLParser::EventElement::start(), and CCopasiXMLParser::AssignmentElement::start().

CEventAssignment* SCopasiXMLParserCommon::pEventAssignment

Pointer to the currently processed event assignment

Definition at line 173 of file CCopasiXMLParser.h.

Referenced by CCopasiXMLParser::AssignmentElement::end(), and CCopasiXMLParser::AssignmentElement::start().

CFunction* SCopasiXMLParserCommon::pFunction
CCopasiVectorN< CFunction >* SCopasiXMLParserCommon::pFunctionList
CFunctionParameter* SCopasiXMLParserCommon::pFunctionVariable

Pointer to the currently processed function.

Definition at line 131 of file CCopasiXMLParser.h.

Referenced by CCopasiXMLParser::SourceParameterElement::start(), and CCopasiXMLParser::CallParameterElement::start().

CLGeneralGlyph* SCopasiXMLParserCommon::pGeneralGlyph
CLGradientBase* SCopasiXMLParserCommon::pGradient
CLGroup* SCopasiXMLParserCommon::pGroup
SCopasiXMLGUI* SCopasiXMLParserCommon::pGUI
CListOfLayouts* SCopasiXMLParserCommon::pLayoutList
CLLineEnding* SCopasiXMLParserCommon::pLineEnding
CLLineSegment* SCopasiXMLParserCommon::pLineSegment
std::vector<CLRenderPoint*>* SCopasiXMLParserCommon::pListOfCurveElements
CLMetabGlyph* SCopasiXMLParserCommon::pMetaboliteGlyph
CLMetabReferenceGlyph* SCopasiXMLParserCommon::pMetaboliteReferenceGlyph
CModel* SCopasiXMLParserCommon::pModel
COutputDefinitionVector* SCopasiXMLParserCommon::pPlotList

Pointer to a vector of plots which has been loaded or is to be saved. The ownership is handed to the user.

Definition at line 207 of file CCopasiXMLParser.h.

Referenced by CCopasiXMLParser::CCopasiXMLParser(), CCopasiXMLParser::ListOfPlotsElement::end(), CCopasiXMLParser::getPlotList(), and CCopasiXMLParser::ListOfPlotsElement::start().

CReaction* SCopasiXMLParserCommon::pReaction
CLReactionGlyph* SCopasiXMLParserCommon::pReactionGlyph
CLRenderInformationBase* SCopasiXMLParserCommon::pRenderInformation
CReportDefinition* SCopasiXMLParserCommon::pReport
CReportDefinitionVector* SCopasiXMLParserCommon::pReportList

Pointer to a vector of reports which has been loaded or is to be saved. The ownership is handed to the user.

Definition at line 201 of file CCopasiXMLParser.h.

Referenced by CCopasiXMLParser::CCopasiXMLParser(), CCopasiXMLParser::getReportList(), CCopasiXMLParser::ListOfReportsElement::start(), and CCopasiXMLParser::ReportElement::start().

CLStyle* SCopasiXMLParserCommon::pStyle
CCopasiVectorN< CCopasiTask >* SCopasiXMLParserCommon::pTaskList

Pointer to a vector of tasks which has been loaded or is to be saved. The ownership is handed to the user.

Definition at line 195 of file CCopasiXMLParser.h.

Referenced by CCopasiXMLParser::CCopasiXMLParser(), CCopasiXMLParser::ListOfTasksElement::end(), CCopasiXMLParser::getObjectFromName(), CCopasiXMLParser::getTaskList(), CCopasiXMLParser::ListOfTasksElement::start(), and CCopasiXMLParser::TaskElement::start().

CLText* SCopasiXMLParserCommon::pText
CLTextGlyph* SCopasiXMLParserCommon::pTextGlyph
CVersion* SCopasiXMLParserCommon::pVersion
std::map<std::string , std::vector < std::pair < std::vector <CRegisteredObjectName >*, size_t > > > SCopasiXMLParserCommon::reportReferenceMap

A map that stores a vector of pairs of header,body or footer addresses with the index together with the key to the reference.

Definition at line 305 of file CCopasiXMLParser.h.

Referenced by CCopasiXMLParser::ListOfReportsElement::end(), CCopasiXMLParser::HeaderElement::end(), CCopasiXMLParser::BodyElement::end(), and CCopasiXMLParser::FooterElement::end().

std::map< std::string, std::vector< std::string > > SCopasiXMLParserCommon::SourceParameterKeys

The keys of the source parameters for a call parameter.

Definition at line 178 of file CCopasiXMLParser.h.

Referenced by CCopasiXMLParser::KineticLawElement::end(), and CCopasiXMLParser::SourceParameterElement::start().

std::vector< CModelEntity * > SCopasiXMLParserCommon::StateVariableList
std::map<std::string , std::vector < CCopasiTask* > > SCopasiXMLParserCommon::taskReferenceMap

A map that stores a vector of tasks that reference a certain key together with the key to the reference.

Definition at line 299 of file CCopasiXMLParser.h.

Referenced by CCopasiXMLParser::ListOfReportsElement::end(), and CCopasiXMLParser::ReportInstanceElement::start().

std::vector< std::string > SCopasiXMLParserCommon::UnmappedKeyParameters

The documentation for this struct was generated from the following files: