|
| CExpat () |
|
virtual void | onCharacterData (const XML_Char *pszData, int nLength) |
|
virtual void | onComment (const XML_Char *pszData) |
|
virtual void | onDefault (const XML_Char *pszData, int nLength) |
|
virtual void | onEndCdataSection () |
|
virtual void | onEndDoctypeDecl () |
|
virtual void | onEndElement (const XML_Char *pszName) |
|
virtual void | onEndNamespaceDecl (const XML_Char *pszPrefix) |
|
virtual bool | onExternalEntityRef (const XML_Char *pszContext, const XML_Char *pszBase, const XML_Char *pszSystemID, const XML_Char *pszPublicID) |
|
virtual void | onProcessingInstruction (const XML_Char *pszTarget, const XML_Char *pszData) |
|
virtual void | onSkippedEntityHandler (const XML_Char *, int) |
|
virtual void | onStartCdataSection () |
|
virtual void | onStartDoctypeDecl (const XML_Char *pszDoctypeName, const XML_Char *pszSysID, const XML_Char *pszPubID, bool fHasInternalSubset) |
|
virtual void | onStartElement (const XML_Char *pszName, const XML_Char **papszAttrs) |
|
virtual void | onStartNamespaceDecl (const XML_Char *pszPrefix, const XML_Char *pszURI) |
|
virtual bool | onUnknownEncoding (const XML_Char *pszName, XML_Encoding *pInfo) |
|
virtual void | onXmlDecl (const XML_Char *pszVersion, const XML_Char *pszEncoding, bool fStandalone) |
|
virtual | ~CExpat () |
|
| 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 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) |
|
void | onPostCreate () |
|
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) |
|
XML_Parser | mParser |
|
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