|
COPASI API
4.40.278
|
#include <CExpat.h>
Public Member Functions | |
| CExpatTemplate () | |
| bool | create (const XML_Char *pszEncoding=NULL, const XML_Char *pszSep=NULL) |
| void | destroy () |
| void | enableCdataSectionHandler (bool fEnable=true) |
| void | enableCharacterDataHandler (bool fEnable=true) |
| void | enableCommentHandler (bool fEnable=true) |
| void | enableDefaultHandler (bool fEnable=true, bool fExpand=true) |
| void | enableDoctypeDeclHandler (bool fEnable=true) |
| void | enableElementHandler (bool fEnable=true) |
| void | enableEndCdataSectionHandler (bool fEnable=true) |
| void | enableEndDoctypeDeclHandler (bool fEnable=true) |
| void | enableEndElementHandler (bool fEnable=true) |
| void | enableEndNamespaceDeclHandler (bool fEnable=true) |
| void | enableExternalEntityRefHandler (bool fEnable=true) |
| void | enableNamespaceDeclHandler (bool fEnable=true) |
| void | enableProcessingInstructionHandler (bool fEnable=true) |
| void | enableSkippedEntityHandler (bool fEnable=true) |
| void | enableStartCdataSectionHandler (bool fEnable=true) |
| void | enableStartDoctypeDeclHandler (bool fEnable=true) |
| void | enableStartElementHandler (bool fEnable=true) |
| void | enableStartNamespaceDeclHandler (bool fEnable=true) |
| void | enableUnknownEncodingHandler (bool fEnable=true) |
| void | enableXmlDeclHandler (bool fEnable=true) |
| const char * | getAttributeValue (const std::string &name, const char **attributes, const bool &required=true) const |
| const char * | getAttributeValue (const std::string &name, const char **attributes, const char *def) const |
| void * | getBuffer (int nLength) |
| int | getCurrentByteCount () |
| long | getCurrentByteIndex () |
| int | getCurrentColumnNumber () |
| int | getCurrentLineNumber () const |
| enum XML_Error | getErrorCode () |
| const XML_LChar * | getErrorString () |
| const char * | getInputContext (int *pnOffset, int *pnSize) |
| void | onCharacterData (const XML_Char *pszData, int nLength) |
| void | onComment (const XML_Char *pszData) |
| void | onDefault (const XML_Char *pszData, int nLength) |
| void | onEndCdataSection () |
| void | onEndDoctypeDecl () |
| void | onEndElement (const XML_Char *pszName) |
| void | onEndNamespaceDecl (const XML_Char *pszPrefix) |
| bool | onExternalEntityRef (const XML_Char *pszContext, const XML_Char *pszBase, const XML_Char *pszSystemID, const XML_Char *pszPublicID) |
| void | onProcessingInstruction (const XML_Char *pszTarget, const XML_Char *pszData) |
| void | onSkippedEntityHandler (const XML_Char *, int) |
| void | onStartCdataSection () |
| void | onStartDoctypeDecl (const XML_Char *pszDoctypeName, const XML_Char *pszSysID, const XML_Char *pszPubID, bool fHasInternalSubset) |
| void | onStartElement (const XML_Char *pszName, const XML_Char **papszAttrs) |
| void | onStartNamespaceDecl (const XML_Char *pszPrefix, const XML_Char *pszURI) |
| bool | onUnknownEncoding (const XML_Char *pszName, XML_Encoding *pInfo) |
| void | onXmlDecl (const XML_Char *pszVersion, const XML_Char *pszEncoding, bool fStandalone) |
| bool | parse (const char *pszBuffer, int nLength=-1, bool fIsFinal=true) |
| bool | parseBuffer (int nLength, bool fIsFinal=true) |
| ~CExpatTemplate () | |
Static Public Member Functions | |
| static const XML_LChar * | getErrorString (enum XML_Error nError) |
| static const XML_LChar * | getExpatVersion () |
| static void | getExpatVersion (int &nMajor, int &nMinor, int &nMicro) |
| static bool | toBool (const char *attribute) |
Protected Member Functions | |
| void | onPostCreate () |
Static Protected Member Functions | |
| static void | characterDataHandler (void *pUserData, const XML_Char *pszData, int nLength) |
| static void | commentHandler (void *pUserData, const XML_Char *pszData) |
| static void | defaultHandler (void *pUserData, const XML_Char *pszData, int nLength) |
| static void | endCdataSectionHandler (void *pUserData) |
| static void | endDoctypeDeclHandler (void *pUserData) |
| static void | endElementHandler (void *pUserData, const XML_Char *pszName) |
| static void | endNamespaceDeclHandler (void *pUserData, const XML_Char *pszPrefix) |
| static int | externalEntityRefHandler (XML_Parser pUserData, const XML_Char *pszContext, const XML_Char *pszBase, const XML_Char *pszSystemID, const XML_Char *pszPublicID) |
| static void | processingInstructionHandler (void *pUserData, const XML_Char *pszTarget, const XML_Char *pszData) |
| static void | skippedEntityHandler (void *pUserData, const XML_Char *entityName, int is_parameter_entity) |
| static void | startCdataSectionHandler (void *pUserData) |
| static void | startDoctypeDeclHandler (void *pUserData, const XML_Char *pszDoctypeName, const XML_Char *pszSysID, const XML_Char *pszPubID, int nHasInternalSubset) |
| static void | startElementHandler (void *pUserData, const XML_Char *pszName, const XML_Char **papszAttrs) |
| static void | startNamespaceDeclHandler (void *pUserData, const XML_Char *pszPrefix, const XML_Char *pszURI) |
| static int | unknownEncodingHandler (void *pUserData, const XML_Char *pszName, XML_Encoding *pInfo) |
| static void | xmlDeclHandler (void *pUserData, const XML_Char *pszVersion, const XML_Char *pszEncoding, int nStandalone) |
Protected Attributes | |
| XML_Parser | mParser |
This file describes the C++ interface to the expat library used by COPASI.
Created for COPASI by Stefan Hoops 2003 Copyright Stefan Hoops CExpatTemplate class. The class CExpatTemplate is a template defining a C++ interface to the expat library.
Created for COPASI by Stefan Hoops 2003
|
inline |
Default constructor
|
inline |
Destructor
References CExpatTemplate< CType >::destroy().
|
inlinestaticprotected |
Character data handler wrapper
| void | *pUserData |
| const | XML_Char *pszData |
| int | nLength |
Referenced by CExpatTemplate< CType >::enableCharacterDataHandler().
|
inlinestaticprotected |
Comment handler wrapper
| void | *pUserData |
| const | XML_Char *pszData |
Referenced by CExpatTemplate< CType >::enableCommentHandler().
|
inline |
Create a parser
| const | XML_Char *pszEncoding (Default = NULL) |
| const | XML_Char *pszSep (Default = NULL) |
References CExpatTemplate< CType >::destroy(), and CExpatTemplate< CType >::mParser.
|
inlinestaticprotected |
Default wrapper
| void | *pUserData |
| const | XML_Char *pszData |
| int | nLength |
Referenced by CExpatTemplate< CType >::enableDefaultHandler().
|
inline |
Destroy the parser
References CExpatTemplate< CType >::mParser.
Referenced by CExpatTemplate< CType >::create(), and CExpatTemplate< CType >::~CExpatTemplate().
|
inline |
Enable/Disable the CDATA section handlers
| bool | fEnable (Default: true) |
References CExpatTemplate< CType >::enableEndCdataSectionHandler(), CExpatTemplate< CType >::enableStartCdataSectionHandler(), and CExpatTemplate< CType >::mParser.
|
inline |
Enable/Disable the character data handler
| bool | fEnable (Default: true) |
References CExpatTemplate< CType >::characterDataHandler(), and CExpatTemplate< CType >::mParser.
|
inline |
Enable/Disable the comment handler
| bool | fEnable (Default: true) |
References CExpatTemplate< CType >::commentHandler(), and CExpatTemplate< CType >::mParser.
|
inline |
Enable/Disable default handler
| bool | fEnable (Default: true) |
References CExpatTemplate< CType >::defaultHandler(), and CExpatTemplate< CType >::mParser.
|
inline |
Enable/Disable the DOCTYPE declaration handler
| bool | fEnable (Default: true) |
References CExpatTemplate< CType >::enableEndDoctypeDeclHandler(), CExpatTemplate< CType >::enableStartDoctypeDeclHandler(), and CExpatTemplate< CType >::mParser.
|
inline |
Enable/Disable the element handlers
| bool | fEnable (Default: true) |
References CExpatTemplate< CType >::enableEndElementHandler(), CExpatTemplate< CType >::enableStartElementHandler(), and CExpatTemplate< CType >::mParser.
|
inline |
Enable/Disable the end CDATA section handlers
| bool | fEnable (Default: true) |
References CExpatTemplate< CType >::endCdataSectionHandler(), and CExpatTemplate< CType >::mParser.
Referenced by CExpatTemplate< CType >::enableCdataSectionHandler().
|
inline |
Enable/Disable the end DOCTYPE declaration handler
| bool | fEnable (Default: true) |
References CExpatTemplate< CType >::endDoctypeDeclHandler(), and CExpatTemplate< CType >::mParser.
Referenced by CExpatTemplate< CType >::enableDoctypeDeclHandler().
|
inline |
Enable/Disable end element handler
| bool | fEnable (Default: true) |
References CExpatTemplate< CType >::endElementHandler(), and CExpatTemplate< CType >::mParser.
Referenced by CExpatTemplate< CType >::enableElementHandler().
|
inline |
Enable/Disable end namespace handler
| bool | fEnable (Default: true) |
References CExpatTemplate< CType >::endNamespaceDeclHandler(), and CExpatTemplate< CType >::mParser.
Referenced by CExpatTemplate< CType >::enableNamespaceDeclHandler().
|
inline |
Enable/Disable external entity ref handler
| bool | fEnable (Default: true) |
References CExpatTemplate< CType >::externalEntityRefHandler(), and CExpatTemplate< CType >::mParser.
|
inline |
Enable/Disable namespace handlers
| bool | fEnable (Default: true) |
References CExpatTemplate< CType >::enableEndNamespaceDeclHandler(), and CExpatTemplate< CType >::enableStartNamespaceDeclHandler().
|
inline |
Enable/Disable the processing instruction handler
| bool | fEnable (Default: true) |
References CExpatTemplate< CType >::mParser, and CExpatTemplate< CType >::processingInstructionHandler().
|
inline |
Enable/Disable the skipped entity handler
| bool | fEnable (Default: true) |
References CExpatTemplate< CType >::mParser, and CExpatTemplate< CType >::skippedEntityHandler().
Referenced by CommentHandler::processEnd(), and CommentHandler::processStart().
|
inline |
Enable/Disable the start CDATA section handler
| bool | fEnable (Default: true) |
References CExpatTemplate< CType >::mParser, and CExpatTemplate< CType >::startCdataSectionHandler().
Referenced by CExpatTemplate< CType >::enableCdataSectionHandler().
|
inline |
Enable/Disable the start DOCTYPE declaration handler
| bool | fEnable (Default: true) |
References CExpatTemplate< CType >::mParser, and CExpatTemplate< CType >::startDoctypeDeclHandler().
Referenced by CExpatTemplate< CType >::enableDoctypeDeclHandler().
|
inline |
Enable/Disable the start element handler
| bool | fEnable (Default: true) |
References CExpatTemplate< CType >::mParser, and CExpatTemplate< CType >::startElementHandler().
Referenced by CExpatTemplate< CType >::enableElementHandler().
|
inline |
Enable/Disable start namespace handler
| bool | fEnable (Default: true) |
References CExpatTemplate< CType >::mParser, and CExpatTemplate< CType >::startNamespaceDeclHandler().
Referenced by CExpatTemplate< CType >::enableNamespaceDeclHandler().
|
inline |
Enable/Disable unknown encoding handler
| bool | fEnable (Default: true) |
References CExpatTemplate< CType >::mParser, and CExpatTemplate< CType >::unknownEncodingHandler().
|
inline |
Enable/Disable the XML declaration handler
| bool | fEnable (Default: true) |
References CExpatTemplate< CType >::mParser, and CExpatTemplate< CType >::xmlDeclHandler().
|
inlinestaticprotected |
End CDATA section wrapper
| void | *pUserData |
Referenced by CExpatTemplate< CType >::enableEndCdataSectionHandler().
|
inlinestaticprotected |
End Doctype declaration wrapper
| void | *pUserData |
Referenced by CExpatTemplate< CType >::enableEndDoctypeDeclHandler().
|
inlinestaticprotected |
End element handler wrapper
| void | *pUserData |
| const | XML_Char *pszName |
Referenced by CExpatTemplate< CType >::enableEndElementHandler().
|
inlinestaticprotected |
End namespace decl wrapper
| void | *pUserData |
| const | XML_Char *pszPrefix |
Referenced by CExpatTemplate< CType >::enableEndNamespaceDeclHandler().
|
inlinestaticprotected |
External entity ref wrapper
| void | *pUserData |
| const | XML_Char *pszContext |
| const | XML_Char *pszBase |
| const | XML_Char *pszSystemID |
| const | XML_Char *pszPublicID |
Referenced by CExpatTemplate< CType >::enableExternalEntityRefHandler().
|
inline |
Retrieve the attribute value for the given name out of the list of attributes. If required is true and the attribute is not found an exception is thrown. If required is false and the attribute is not found NULL is returned.
| const | std::string & name |
| const | char ** attributes |
| const | bool & required (default: true) |
References C_INT32, CCopasiMessage::ERROR, CExpatTemplate< CType >::getCurrentLineNumber(), and MCXML.
Referenced by CExpatTemplate< CType >::getAttributeValue(), AdditionalGraphicalObjectHandler::processStart(), AssignmentHandler::processStart(), CallParameterHandler::processStart(), ChannelSpecHandler::processStart(), ColorDefinitionHandler::processStart(), CompartmentGlyphHandler::processStart(), CompartmentHandler::processStart(), ConstantHandler::processStart(), COPASIHandler::processStart(), DimensionsHandler::processStart(), EllipseHandler::processStart(), EventHandler::processStart(), FunctionHandler::processStart(), GradientStopHandler::processStart(), GroupHandler::processStart(), ImageHandler::processStart(), KineticLawHandler::processStart(), LayoutHandler::processStart(), LinearGradientHandler::processStart(), LineEndingHandler::processStart(), ListOfCurveSegmentsHandler::processStart(), MetaboliteGlyphHandler::processStart(), MetaboliteHandler::processStart(), MetaboliteReferenceGlyphHandler::processStart(), MethodHandler::processStart(), ModelHandler::processStart(), ModelParameterGroupHandler::processStart(), ModelParameterHandler::processStart(), ModelParameterSetHandler::processStart(), ModelValueHandler::processStart(), ModifierHandler::processStart(), ObjectHandler::processStart(), ParameterDescriptionHandler::processStart(), ParameterGroupHandler::processStart(), ParameterHandler::processStart(), ParameterTextHandler::processStart(), PlotItemHandler::processStart(), PlotSpecificationHandler::processStart(), PointHandler::processStart(), PolygonHandler::processStart(), ProductHandler::processStart(), RadialGradientHandler::processStart(), ReactionGlyphHandler::processStart(), ReactionHandler::processStart(), RectangleHandler::processStart(), RenderCurveElementHandler::processStart(), RenderCurveHandler::processStart(), RenderInformationHandler::processStart(), RenderTextHandler::processStart(), ReportDefinitionHandler::processStart(), ReportTargetHandler::processStart(), SBMLMapHandler::processStart(), SliderHandler::processStart(), SourceParameterHandler::processStart(), StateTemplateVariableHandler::processStart(), StyleHandler::processStart(), SubstrateHandler::processStart(), TableHandler::processStart(), TaskHandler::processStart(), TextGlyphHandler::processStart(), UnitDefinitionHandler::processStart(), and UnsupportedAnnotationHandler::processStart().
|
inline |
Retrieve the attribute value for the given name out of the list of attributes. If the attribute is not found default is returned.
| const | std::string & name |
| const | char ** attributes |
| const | char * default |
References CExpatTemplate< CType >::getAttributeValue().
|
inline |
Get the internal buffer
References CExpatTemplate< CType >::mParser.
|
inline |
|
inline |
|
inline |
Get the current column number
References CExpatTemplate< CType >::mParser.
Referenced by CCopasiXML::load(), CConfigurationFile::CXML::load(), AdditionalGraphicalObjectHandler::processEnd(), AssignmentHandler::processEnd(), BoundingBoxHandler::processEnd(), CallParameterHandler::processEnd(), ChannelSpecHandler::processEnd(), ColorDefinitionHandler::processEnd(), CompartmentGlyphHandler::processEnd(), CompartmentHandler::processEnd(), ConstantHandler::processEnd(), COPASIHandler::processEnd(), CubicBezierHandler::processEnd(), CurveHandler::processEnd(), DimensionsHandler::processEnd(), EllipseHandler::processEnd(), EventHandler::processEnd(), FunctionHandler::processEnd(), GradientStopHandler::processEnd(), GroupHandler::processEnd(), GUIHandler::processEnd(), ImageHandler::processEnd(), InitialStateHandler::processEnd(), KineticLawHandler::processEnd(), LayoutHandler::processEnd(), LinearGradientHandler::processEnd(), LineEndingHandler::processEnd(), LineSegmentHandler::processEnd(), ListOfCurveSegmentsHandler::processEnd(), ListOfGradientDefinitionsHandler::processEnd(), ListOfHandler::processEnd(), ListOfLayoutsHandler::processEnd(), MathMLHandler::processEnd(), MetaboliteGlyphHandler::processEnd(), MetaboliteHandler::processEnd(), MetaboliteReferenceGlyphHandler::processEnd(), MethodHandler::processEnd(), ModelHandler::processEnd(), ModelParameterGroupHandler::processEnd(), ModelParameterHandler::processEnd(), ModelParameterSetHandler::processEnd(), ModelValueHandler::processEnd(), ModifierHandler::processEnd(), ObjectHandler::processEnd(), ParameterDescriptionHandler::processEnd(), ParameterGroupHandler::processEnd(), ParameterHandler::processEnd(), ParameterTextHandler::processEnd(), PlotItemHandler::processEnd(), PlotSpecificationHandler::processEnd(), PointHandler::processEnd(), PolygonHandler::processEnd(), ProductHandler::processEnd(), RadialGradientHandler::processEnd(), ReactionGlyphHandler::processEnd(), ReactionHandler::processEnd(), RectangleHandler::processEnd(), RenderCurveElementHandler::processEnd(), RenderCurveHandler::processEnd(), RenderInformationHandler::processEnd(), RenderTextHandler::processEnd(), ReportDefinitionHandler::processEnd(), ReportSectionHandler::processEnd(), ReportTargetHandler::processEnd(), SBMLMapHandler::processEnd(), SliderHandler::processEnd(), SourceParameterHandler::processEnd(), StateTemplateHandler::processEnd(), StateTemplateVariableHandler::processEnd(), StyleHandler::processEnd(), SubstrateHandler::processEnd(), TableHandler::processEnd(), TaskHandler::processEnd(), TextGlyphHandler::processEnd(), UnitDefinitionHandler::processEnd(), AdditionalGraphicalObjectHandler::processStart(), AssignmentHandler::processStart(), BoundingBoxHandler::processStart(), CallParameterHandler::processStart(), ChannelSpecHandler::processStart(), ColorDefinitionHandler::processStart(), CompartmentGlyphHandler::processStart(), CompartmentHandler::processStart(), ConstantHandler::processStart(), COPASIHandler::processStart(), CubicBezierHandler::processStart(), CurveHandler::processStart(), DimensionsHandler::processStart(), EllipseHandler::processStart(), EventHandler::processStart(), FunctionHandler::processStart(), GradientStopHandler::processStart(), GroupHandler::processStart(), GUIHandler::processStart(), ImageHandler::processStart(), InitialStateHandler::processStart(), KineticLawHandler::processStart(), LayoutHandler::processStart(), LinearGradientHandler::processStart(), LineEndingHandler::processStart(), LineSegmentHandler::processStart(), ListOfCurveSegmentsHandler::processStart(), ListOfGradientDefinitionsHandler::processStart(), ListOfHandler::processStart(), ListOfLayoutsHandler::processStart(), MathMLHandler::processStart(), MetaboliteGlyphHandler::processStart(), MetaboliteHandler::processStart(), MetaboliteReferenceGlyphHandler::processStart(), MethodHandler::processStart(), ModelHandler::processStart(), ModelParameterGroupHandler::processStart(), ModelParameterHandler::processStart(), ModelParameterSetHandler::processStart(), ModelValueHandler::processStart(), ModifierHandler::processStart(), ObjectHandler::processStart(), ParameterDescriptionHandler::processStart(), ParameterGroupHandler::processStart(), ParameterHandler::processStart(), ParameterTextHandler::processStart(), PlotItemHandler::processStart(), PlotSpecificationHandler::processStart(), PointHandler::processStart(), PolygonHandler::processStart(), ProductHandler::processStart(), RadialGradientHandler::processStart(), ReactionGlyphHandler::processStart(), ReactionHandler::processStart(), RectangleHandler::processStart(), RenderCurveElementHandler::processStart(), RenderCurveHandler::processStart(), RenderInformationHandler::processStart(), RenderTextHandler::processStart(), ReportDefinitionHandler::processStart(), ReportSectionHandler::processStart(), ReportTargetHandler::processStart(), SBMLMapHandler::processStart(), SliderHandler::processStart(), SourceParameterHandler::processStart(), StateTemplateHandler::processStart(), StateTemplateVariableHandler::processStart(), StyleHandler::processStart(), SubstrateHandler::processStart(), TableHandler::processStart(), TaskHandler::processStart(), TextGlyphHandler::processStart(), and UnitDefinitionHandler::processStart().
|
inline |
Get the current line number
References CExpatTemplate< CType >::mParser.
Referenced by CXMLHandler::addFix(), CXMLHandler::end(), CExpatTemplate< CType >::getAttributeValue(), CCopasiXML::load(), CConfigurationFile::CXML::load(), AdditionalGraphicalObjectHandler::processEnd(), AssignmentHandler::processEnd(), BoundingBoxHandler::processEnd(), CallParameterHandler::processEnd(), ChannelSpecHandler::processEnd(), CharacterDataHandler::processEnd(), ColorDefinitionHandler::processEnd(), CompartmentGlyphHandler::processEnd(), CompartmentHandler::processEnd(), ConstantHandler::processEnd(), COPASIHandler::processEnd(), CubicBezierHandler::processEnd(), CurveHandler::processEnd(), DimensionsHandler::processEnd(), EllipseHandler::processEnd(), EventHandler::processEnd(), FunctionHandler::processEnd(), GradientStopHandler::processEnd(), GroupHandler::processEnd(), GUIHandler::processEnd(), ImageHandler::processEnd(), InitialStateHandler::processEnd(), KineticLawHandler::processEnd(), LayoutHandler::processEnd(), LinearGradientHandler::processEnd(), LineEndingHandler::processEnd(), LineSegmentHandler::processEnd(), ListOfCurveSegmentsHandler::processEnd(), ListOfGradientDefinitionsHandler::processEnd(), ListOfHandler::processEnd(), ListOfLayoutsHandler::processEnd(), MathMLHandler::processEnd(), MetaboliteGlyphHandler::processEnd(), MetaboliteHandler::processEnd(), MetaboliteReferenceGlyphHandler::processEnd(), MethodHandler::processEnd(), ModelHandler::processEnd(), ModelParameterGroupHandler::processEnd(), ModelParameterHandler::processEnd(), ModelParameterSetHandler::processEnd(), ModelValueHandler::processEnd(), ModifierHandler::processEnd(), ObjectHandler::processEnd(), ParameterDescriptionHandler::processEnd(), ParameterGroupHandler::processEnd(), ParameterHandler::processEnd(), ParameterTextHandler::processEnd(), PlotItemHandler::processEnd(), PlotSpecificationHandler::processEnd(), PointHandler::processEnd(), PolygonHandler::processEnd(), ProductHandler::processEnd(), RadialGradientHandler::processEnd(), ReactionGlyphHandler::processEnd(), ReactionHandler::processEnd(), RectangleHandler::processEnd(), RenderCurveElementHandler::processEnd(), RenderCurveHandler::processEnd(), RenderInformationHandler::processEnd(), RenderTextHandler::processEnd(), ReportDefinitionHandler::processEnd(), ReportSectionHandler::processEnd(), ReportTargetHandler::processEnd(), SBMLMapHandler::processEnd(), SliderHandler::processEnd(), SourceParameterHandler::processEnd(), StateTemplateHandler::processEnd(), StateTemplateVariableHandler::processEnd(), StyleHandler::processEnd(), SubstrateHandler::processEnd(), TableHandler::processEnd(), TaskHandler::processEnd(), TextGlyphHandler::processEnd(), UnitDefinitionHandler::processEnd(), AdditionalGraphicalObjectHandler::processStart(), AssignmentHandler::processStart(), BoundingBoxHandler::processStart(), CallParameterHandler::processStart(), ChannelSpecHandler::processStart(), ColorDefinitionHandler::processStart(), CompartmentGlyphHandler::processStart(), CompartmentHandler::processStart(), ConstantHandler::processStart(), COPASIHandler::processStart(), CubicBezierHandler::processStart(), CurveHandler::processStart(), DimensionsHandler::processStart(), EllipseHandler::processStart(), EventHandler::processStart(), FunctionHandler::processStart(), GradientStopHandler::processStart(), GroupHandler::processStart(), GUIHandler::processStart(), ImageHandler::processStart(), InitialStateHandler::processStart(), KineticLawHandler::processStart(), LayoutHandler::processStart(), LinearGradientHandler::processStart(), LineEndingHandler::processStart(), LineSegmentHandler::processStart(), ListOfCurveSegmentsHandler::processStart(), ListOfGradientDefinitionsHandler::processStart(), ListOfHandler::processStart(), ListOfLayoutsHandler::processStart(), MathMLHandler::processStart(), MetaboliteGlyphHandler::processStart(), MetaboliteHandler::processStart(), MetaboliteReferenceGlyphHandler::processStart(), MethodHandler::processStart(), ModelHandler::processStart(), ModelParameterGroupHandler::processStart(), ModelParameterHandler::processStart(), ModelParameterSetHandler::processStart(), ModelValueHandler::processStart(), ModifierHandler::processStart(), ObjectHandler::processStart(), ParameterDescriptionHandler::processStart(), ParameterGroupHandler::processStart(), ParameterHandler::processStart(), ParameterTextHandler::processStart(), PlotItemHandler::processStart(), PlotSpecificationHandler::processStart(), PointHandler::processStart(), PolygonHandler::processStart(), ProductHandler::processStart(), RadialGradientHandler::processStart(), ReactionGlyphHandler::processStart(), ReactionHandler::processStart(), RectangleHandler::processStart(), RenderCurveElementHandler::processStart(), RenderCurveHandler::processStart(), RenderInformationHandler::processStart(), RenderTextHandler::processStart(), ReportDefinitionHandler::processStart(), ReportSectionHandler::processStart(), ReportTargetHandler::processStart(), SBMLMapHandler::processStart(), SliderHandler::processStart(), SourceParameterHandler::processStart(), StateTemplateHandler::processStart(), StateTemplateVariableHandler::processStart(), StyleHandler::processStart(), SubstrateHandler::processStart(), TableHandler::processStart(), TaskHandler::processStart(), TextGlyphHandler::processStart(), UnitDefinitionHandler::processStart(), and CXMLHandler::start().
|
inline |
|
inline |
Get last error string
References CExpatTemplate< CType >::getErrorCode().
Referenced by CCopasiXML::load(), and CConfigurationFile::CXML::load().
|
inlinestatic |
Get error string
| enum | XML_Error nError |
|
inlinestatic |
Return the version string
|
inlinestatic |
Get the version information
| int | nMajor |
| int | nMinor |
| int | nMicro |
|
inline |
Get the input context @const char * inputContext
References CExpatTemplate< CType >::mParser.
|
inline |
Character data handler
| const | XML_Char *pszData |
| int | nLength |
|
inline |
Comment handler
| const | XML_Char *pszData |
|
inline |
Default handler
| const | XML_Char *pszData |
| int | nLength |
|
inline |
End CDATA section handler
|
inline |
End DOCTYPE declaration handler
|
inline |
End element handler
| const | XML_Char *pszName |
|
inline |
End namespace declaration handler
| const | XML_Char *pszPrefix |
|
inline |
External entity ref handler
| const | XML_Char *pszContext |
| const | XML_Char *pszBase |
| const | XML_Char *pszSystemID |
| const | XML_Char *pszPublicID |
|
inlineprotected |
Handle any post creation
|
inline |
Processing instruction handler
| const | XML_Char *pszTarget |
| const | XML_Char *pszData |
|
inline |
Skipped entity handler This is called in two situations: 1) An entity reference is encountered for which no declaration has been read and this is not an error. 2) An internal entity reference is read, but not expanded, because XML_SetDefaultHandler has been called. Note: skipped parameter entities in declarations and skipped general entities in attribute values cannot be reported, because the event would be out of sync with the reporting of the declarations or attribute values
| const | XML_Char *entityName |
| int | is_parameter_entity |
|
inline |
Start CDATA section handler
|
inline |
Start DOCTYPE declaration handler
| const | XML_Char *pszDoctypeName |
| const | XML_Char *pszSysID |
| const | XML_Char *pszPubID |
| bool | fHasInternalSubset |
|
inline |
Start element handler
| const | XML_Char *pszName |
| const | XML_Char **papszAttrs |
|
inline |
Start namespace declaration handler
| const | XML_Char *pszPrefix |
| const | XML_Char *pszURI |
|
inline |
Unknown encoding handler
| const | XML_Char *pszName |
| XML_Encoding | *pInfo |
|
inline |
XML declaration handler
| const | XML_Char *pszVersion |
| const | XML_Char *pszEncoding |
| bool | fStandalone |
|
inline |
Parse a block of character data
| const | char *pszBuffer |
| int | nLength (Default: -1 (zero terminated)) |
| bool | fIsFinal (Default: true) |
References CExpatTemplate< CType >::mParser.
Referenced by CAnnotation::isValidXML(), CCopasiXML::load(), and CConfigurationFile::CXML::load().
|
inline |
Parse internal buffer
| int | nLength |
| bool | fIsFinal (Default: true) |
References CExpatTemplate< CType >::mParser.
|
inlinestaticprotected |
Processing instruction handler wrapper
| void | *pUserData |
| const | XML_Char *pszTarget |
| const | XML_Char *pszData |
Referenced by CExpatTemplate< CType >::enableProcessingInstructionHandler().
|
inlinestaticprotected |
Skipped entity handler This is called in two situations: 1) An entity reference is encountered for which no declaration has been read and this is not an error. 2) An internal entity reference is read, but not expanded, because XML_SetDefaultHandler has been called. Note: skipped parameter entities in declarations and skipped general entities in attribute values cannot be reported, because the event would be out of sync with the reporting of the declarations or attribute values
| void | *pUserData |
| const | XML_Char *entityName |
| int | is_parameter_entity |
Referenced by CExpatTemplate< CType >::enableSkippedEntityHandler().
|
inlinestaticprotected |
Start CDATA section wrapper
| void | *pUserData |
Referenced by CExpatTemplate< CType >::enableStartCdataSectionHandler().
|
inlinestaticprotected |
Start Doctype declaration wrapper
| void | *pUserData |
| const | XML_Char *pszDoctypeName |
| const | XML_Char *pszSysID |
| const | XML_Char *pszPubID |
| int | nHasInternalSubset |
Referenced by CExpatTemplate< CType >::enableStartDoctypeDeclHandler().
|
inlinestaticprotected |
Start element handler wrapper
| void | *pUserData |
| const | XML_Char *pszName |
| const | XML_Char **papszAttrs |
Referenced by CExpatTemplate< CType >::enableStartElementHandler().
|
inlinestaticprotected |
Start namespace decl wrapper
| void | *pUserData |
| const | XML_Char *pszPrefix |
| const | XML_Char *pszURI |
Referenced by CExpatTemplate< CType >::enableStartNamespaceDeclHandler().
|
inlinestatic |
Convert an attribute of type xs:boolean to bool. If attribute is NULL false is returned.
| const | char * attribute |
Referenced by CompartmentHandler::processStart(), COPASIHandler::processStart(), EventHandler::processStart(), MetaboliteHandler::processStart(), ModelValueHandler::processStart(), PlotSpecificationHandler::processStart(), ReactionHandler::processStart(), ReportTargetHandler::processStart(), TableHandler::processStart(), and TaskHandler::processStart().
|
inlinestaticprotected |
Unknown encoding wrapper
| void | *pUserData |
| const | XML_Char *pszName |
| XML_Encoding | *pInfo |
Referenced by CExpatTemplate< CType >::enableUnknownEncodingHandler().
|
inlinestaticprotected |
XML declaration wrapper
| void | *pUserData |
| const | XML_Char *pszVersion |
| const | XML_Char *pszEncoding |
| int | nStandalone |
Referenced by CExpatTemplate< CType >::enableXmlDeclHandler().
|
protected |
The expat parser
Referenced by CExpatTemplate< CType >::create(), CExpatTemplate< CType >::destroy(), CExpatTemplate< CType >::enableCdataSectionHandler(), CExpatTemplate< CType >::enableCharacterDataHandler(), CExpatTemplate< CType >::enableCommentHandler(), CExpatTemplate< CType >::enableDefaultHandler(), CExpatTemplate< CType >::enableDoctypeDeclHandler(), CExpatTemplate< CType >::enableElementHandler(), CExpatTemplate< CType >::enableEndCdataSectionHandler(), CExpatTemplate< CType >::enableEndDoctypeDeclHandler(), CExpatTemplate< CType >::enableEndElementHandler(), CExpatTemplate< CType >::enableEndNamespaceDeclHandler(), CExpatTemplate< CType >::enableExternalEntityRefHandler(), CExpatTemplate< CType >::enableProcessingInstructionHandler(), CExpatTemplate< CType >::enableSkippedEntityHandler(), CExpatTemplate< CType >::enableStartCdataSectionHandler(), CExpatTemplate< CType >::enableStartDoctypeDeclHandler(), CExpatTemplate< CType >::enableStartElementHandler(), CExpatTemplate< CType >::enableStartNamespaceDeclHandler(), CExpatTemplate< CType >::enableUnknownEncodingHandler(), CExpatTemplate< CType >::enableXmlDeclHandler(), CExpatTemplate< CType >::getBuffer(), CExpatTemplate< CType >::getCurrentByteCount(), CExpatTemplate< CType >::getCurrentByteIndex(), CExpatTemplate< CType >::getCurrentColumnNumber(), CExpatTemplate< CType >::getCurrentLineNumber(), CExpatTemplate< CType >::getInputContext(), CExpatTemplate< CType >::parse(), and CExpatTemplate< CType >::parseBuffer().