|
copasi API
0.1
|
#include <CExpat.h>
Public Member Functions | |
| CExpat () | |
| virtual | ~CExpat () |
| virtual void | onStartElement (const XML_Char *pszName, const XML_Char **papszAttrs) |
| virtual void | onEndElement (const XML_Char *pszName) |
| virtual void | onCharacterData (const XML_Char *pszData, int nLength) |
| virtual void | onProcessingInstruction (const XML_Char *pszTarget, const XML_Char *pszData) |
| virtual void | onComment (const XML_Char *pszData) |
| virtual void | onStartCdataSection () |
| virtual void | onEndCdataSection () |
| virtual void | onDefault (const XML_Char *pszData, int nLength) |
| virtual bool | onExternalEntityRef (const XML_Char *pszContext, const XML_Char *pszBase, const XML_Char *pszSystemID, const XML_Char *pszPublicID) |
| virtual bool | onUnknownEncoding (const XML_Char *pszName, XML_Encoding *pInfo) |
| virtual void | onStartNamespaceDecl (const XML_Char *pszPrefix, const XML_Char *pszURI) |
| virtual void | onEndNamespaceDecl (const XML_Char *pszPrefix) |
| virtual void | onXmlDecl (const XML_Char *pszVersion, const XML_Char *pszEncoding, bool fStandalone) |
| virtual void | onStartDoctypeDecl (const XML_Char *pszDoctypeName, const XML_Char *pszSysID, const XML_Char *pszPubID, bool fHasInternalSubset) |
| virtual void | onEndDoctypeDecl () |
CExpat class. The class CExpat is an instantiation of the CExpatTemplate class above. Is can be used where late binding is preferred to template behaviour.
Created for Copasi by Stefan Hoops 2003
| CExpat::CExpat | ( | ) |
Default constructor
CExpatTemplate class. The class CExpatTemplate is a demplate definening a C++ interface to the expat library.
Created for Copasi by Stefan Hoops 2003
| CExpat::~CExpat | ( | ) | [virtual] |
Destructor
| virtual void CExpat::onCharacterData | ( | const XML_Char * | pszData, |
| int | nLength | ||
| ) | [virtual] |
Character data handler
| const | XML_Char *pszData |
| int | nLength |
Reimplemented from CExpatTemplate< CExpat >.
Reimplemented in CCopasiXMLParser.
| virtual void CExpat::onComment | ( | const XML_Char * | pszData | ) | [virtual] |
| virtual void CExpat::onDefault | ( | const XML_Char * | pszData, |
| int | nLength | ||
| ) | [virtual] |
Default handler
| const | XML_Char *pszData |
| int | nLength |
Reimplemented from CExpatTemplate< CExpat >.
| void CExpat::onEndCdataSection | ( | ) | [virtual] |
End CDATA section handler
Reimplemented from CExpatTemplate< CExpat >.
| void CExpat::onEndDoctypeDecl | ( | ) | [virtual] |
End DOCTYPE declaration handler
Reimplemented from CExpatTemplate< CExpat >.
| virtual void CExpat::onEndElement | ( | const XML_Char * | pszName | ) | [virtual] |
End element handler
| const | XML_Char *pszName |
Reimplemented from CExpatTemplate< CExpat >.
Reimplemented in CCopasiXMLParser.
| virtual void CExpat::onEndNamespaceDecl | ( | const XML_Char * | pszPrefix | ) | [virtual] |
End namespace declaration handler
| const | XML_Char *pszPrefix |
Reimplemented from CExpatTemplate< CExpat >.
| virtual bool CExpat::onExternalEntityRef | ( | const XML_Char * | pszContext, |
| const XML_Char * | pszBase, | ||
| const XML_Char * | pszSystemID, | ||
| const XML_Char * | pszPublicID | ||
| ) | [virtual] |
External entity ref handler
| const | XML_Char *pszContext |
| const | XML_Char *pszBase |
| const | XML_Char *pszSystemID |
| const | XML_Char *pszPublicID |
Reimplemented from CExpatTemplate< CExpat >.
| virtual void CExpat::onProcessingInstruction | ( | const XML_Char * | pszTarget, |
| const XML_Char * | pszData | ||
| ) | [virtual] |
Processing instruction handler
| const | XML_Char *pszTarget |
| const | XML_Char *pszData |
Reimplemented from CExpatTemplate< CExpat >.
| void CExpat::onStartCdataSection | ( | ) | [virtual] |
Start CDATA section handler
Reimplemented from CExpatTemplate< CExpat >.
| virtual void CExpat::onStartDoctypeDecl | ( | const XML_Char * | pszDoctypeName, |
| const XML_Char * | pszSysID, | ||
| const XML_Char * | pszPubID, | ||
| bool | fHasInternalSubset | ||
| ) | [virtual] |
Start DOCTYPE declaration handler
| const | XML_Char *pszDoctypeName |
| const | XML_Char *pszSysID |
| const | XML_Char *pszPubID |
| bool | fHasInternalSubset |
Reimplemented from CExpatTemplate< CExpat >.
| virtual void CExpat::onStartElement | ( | const XML_Char * | pszName, |
| const XML_Char ** | papszAttrs | ||
| ) | [virtual] |
Start element handler
| const | XML_Char *pszName |
| const | XML_Char **papszAttrs |
Reimplemented from CExpatTemplate< CExpat >.
Reimplemented in CCopasiXMLParser.
| virtual void CExpat::onStartNamespaceDecl | ( | const XML_Char * | pszPrefix, |
| const XML_Char * | pszURI | ||
| ) | [virtual] |
Start namespace declaration handler
| const | XML_Char *pszPrefix |
| const | XML_Char *pszURI |
Reimplemented from CExpatTemplate< CExpat >.
| virtual bool CExpat::onUnknownEncoding | ( | const XML_Char * | pszName, |
| XML_Encoding * | pInfo | ||
| ) | [virtual] |
Unknown encoding handler
| const | XML_Char *pszName |
| XML_Encoding | *pInfo |
Reimplemented from CExpatTemplate< CExpat >.
| virtual void CExpat::onXmlDecl | ( | const XML_Char * | pszVersion, |
| const XML_Char * | pszEncoding, | ||
| bool | fStandalone | ||
| ) | [virtual] |
XML declaration handler
| const | XML_Char *pszVersion |
| const | XML_Char *pszEncoding |
| bool | fStandalone |
Reimplemented from CExpatTemplate< CExpat >.
1.7.5.1