COPASI API
4.16.103
|
#include <CCopasiXMLParser.h>
Public Member Functions | |
virtual void | end (const XML_Char *pszName) |
const std::string & | getName () const |
std::string | getXML () const |
virtual void | start (const XML_Char *pszName, const XML_Char **papszAttrs) |
UnsupportedAnnotationElement (CCopasiXMLParser &parser, SCopasiXMLParserCommon &common) | |
virtual | ~UnsupportedAnnotationElement () |
![]() | |
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 { UnsupportedAnnotation = 0, Content } |
Private Attributes | |
std::stack< bool > | mElementEmpty |
size_t | mLevel |
std::string | mName |
std::ostringstream | mXML |
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 25 of file CCopasiXMLParser.h.
Enum of invoked parsers
Enumerator | |
---|---|
UnsupportedAnnotation | |
Content |
Definition at line 32 of file CCopasiXMLParser.h.
CCopasiXMLParser::UnsupportedAnnotationElement::UnsupportedAnnotationElement | ( | CCopasiXMLParser & | parser, |
SCopasiXMLParserCommon & | common | ||
) |
Constructor
Definition at line 22 of file ListOfUnsupportedAnnotations.cpp.
|
virtual |
|
virtual |
End element handler
const | XML_Char *pszName |
Definition at line 92 of file ListOfUnsupportedAnnotations.cpp.
References CCopasiXMLInterface::character, CCopasiXMLInterface::encode(), CCopasiMessage::EXCEPTION, MCXML, CExpatTemplate< CExpat >::mParser, START_ELEMENT, and UNKNOWN_ELEMENT.
const std::string & CCopasiXMLParser::UnsupportedAnnotationElement::getName | ( | ) | const |
Retrieve the name
Definition at line 176 of file ListOfUnsupportedAnnotations.cpp.
std::string CCopasiXMLParser::UnsupportedAnnotationElement::getXML | ( | ) | const |
Retrieve the XML
Definition at line 181 of file ListOfUnsupportedAnnotations.cpp.
|
virtual |
Start element handler
const | XML_Char *pszName |
const | XML_Char **papszAttrs |
Definition at line 36 of file ListOfUnsupportedAnnotations.cpp.
References CCopasiXMLInterface::attribute, CCopasiXMLInterface::character, CCopasiXMLInterface::encode(), CCopasiMessage::EXCEPTION, MCXML, CExpatTemplate< CExpat >::mParser, and UNKNOWN_ELEMENT.
|
private |
Information whether an element is empty
Definition at line 96 of file CCopasiXMLParser.h.
|
private |
The level of nested XML elements.
Definition at line 91 of file CCopasiXMLParser.h.
|
private |
The name of the unsupported annotation
Definition at line 81 of file CCopasiXMLParser.h.
|
private |
String stream to handle XML content
Definition at line 86 of file CCopasiXMLParser.h.