Cuberite
A lightweight, fast and extensible game server for Minecraft
|
#include <XMLParser.h>
Public Member Functions | |
CExpatImpl () | |
bool | Create (const XML_Char *pszEncoding=nullptr, const XML_Char *pszSep=nullptr) |
void | Destroy (void) |
void * | GetBuffer (int nLength) |
int | GetCurrentByteCount () |
long | GetCurrentByteIndex () |
int | GetCurrentColumnNumber () |
int | GetCurrentLineNumber () |
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 | 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, bool fIsFinal=true) |
bool | ParseBuffer (int nLength, bool fIsFinal=true) |
~CExpatImpl () | |
Static Public Member Functions | |
static const XML_LChar * | GetErrorString (enum XML_Error nError) |
static const XML_LChar * | GetExpatVersion () |
static void | GetExpatVersion (int *pnMajor, int *pnMinor, int *pnMicro) |
Protected Member Functions | |
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 | 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) |
void | OnPostCreate () |
Static Protected Member Functions | |
static void __cdecl | CharacterDataHandler (void *pUserData, const XML_Char *pszData, int nLength) |
static void __cdecl | CommentHandler (void *pUserData, const XML_Char *pszData) |
static void __cdecl | DefaultHandler (void *pUserData, const XML_Char *pszData, int nLength) |
static void __cdecl | EndCdataSectionHandler (void *pUserData) |
static void __cdecl | EndDoctypeDeclHandler (void *pUserData) |
static void __cdecl | EndElementHandler (void *pUserData, const XML_Char *pszName) |
static void __cdecl | EndNamespaceDeclHandler (void *pUserData, const XML_Char *pszPrefix) |
static int __cdecl | ExternalEntityRefHandler (void *pUserData, const XML_Char *pszContext, const XML_Char *pszBase, const XML_Char *pszSystemID, const XML_Char *pszPublicID) |
static const XML_Char * | FindAttr (const XML_Char **iAttrs, const XML_Char *iAttrToFind) |
Returns the value of the specified attribute, if found; nullptr otherwise. More... | |
static void __cdecl | ProcessingInstructionHandler (void *pUserData, const XML_Char *pszTarget, const XML_Char *pszData) |
static void __cdecl | StartCdataSectionHandler (void *pUserData) |
static void __cdecl | StartDoctypeDeclHandler (void *pUserData, const XML_Char *pszDoctypeName, const XML_Char *pszSysID, const XML_Char *pszPubID, int nHasInternalSubset) |
static void __cdecl | StartElementHandler (void *pUserData, const XML_Char *pszName, const XML_Char **papszAttrs) |
static void __cdecl | StartNamespaceDeclHandler (void *pUserData, const XML_Char *pszPrefix, const XML_Char *pszURI) |
static int __cdecl | UnknownEncodingHandler (void *pUserData, const XML_Char *pszName, XML_Encoding *pInfo) |
static void __cdecl | XmlDeclHandler (void *pUserData, const XML_Char *pszVersion, const XML_Char *pszEncoding, int nStandalone) |
Protected Attributes | |
XML_Parser | m_p |
Definition at line 77 of file XMLParser.h.
|
inline |
Definition at line 85 of file XMLParser.h.
|
inline |
Definition at line 92 of file XMLParser.h.
|
inlinestaticprotected |
Definition at line 575 of file XMLParser.h.
|
inlinestaticprotected |
Definition at line 593 of file XMLParser.h.
|
inline |
Definition at line 102 of file XMLParser.h.
|
inlinestaticprotected |
Definition at line 618 of file XMLParser.h.
|
inline |
Definition at line 135 of file XMLParser.h.
|
inlineprotected |
Definition at line 240 of file XMLParser.h.
|
inlineprotected |
Definition at line 200 of file XMLParser.h.
|
inlineprotected |
Definition at line 216 of file XMLParser.h.
|
inlineprotected |
Definition at line 249 of file XMLParser.h.
|
inlineprotected |
Definition at line 329 of file XMLParser.h.
|
inlineprotected |
Definition at line 191 of file XMLParser.h.
|
inlineprotected |
Definition at line 232 of file XMLParser.h.
|
inlineprotected |
Definition at line 320 of file XMLParser.h.
|
inlineprotected |
Definition at line 183 of file XMLParser.h.
|
inlineprotected |
Definition at line 288 of file XMLParser.h.
|
inlineprotected |
Definition at line 264 of file XMLParser.h.
|
inlineprotected |
Definition at line 296 of file XMLParser.h.
|
inlineprotected |
Definition at line 208 of file XMLParser.h.
|
inlineprotected |
Definition at line 224 of file XMLParser.h.
|
inlineprotected |
Definition at line 312 of file XMLParser.h.
|
inlineprotected |
Definition at line 175 of file XMLParser.h.
|
inlineprotected |
Definition at line 280 of file XMLParser.h.
|
inlineprotected |
Definition at line 272 of file XMLParser.h.
|
inlineprotected |
Definition at line 304 of file XMLParser.h.
|
inlinestaticprotected |
Definition at line 610 of file XMLParser.h.
|
inlinestaticprotected |
Definition at line 682 of file XMLParser.h.
|
inlinestaticprotected |
Definition at line 566 of file XMLParser.h.
|
inlinestaticprotected |
Definition at line 654 of file XMLParser.h.
|
inlinestaticprotected |
Definition at line 627 of file XMLParser.h.
|
inlinestaticprotected |
Returns the value of the specified attribute, if found; nullptr otherwise.
Definition at line 694 of file XMLParser.h.
|
inline |
Definition at line 163 of file XMLParser.h.
|
inline |
Definition at line 373 of file XMLParser.h.
|
inline |
Definition at line 349 of file XMLParser.h.
|
inline |
Definition at line 365 of file XMLParser.h.
|
inline |
Definition at line 357 of file XMLParser.h.
|
inline |
Definition at line 329 of file XMLParser.h.
|
inline |
Definition at line 389 of file XMLParser.h.
|
inlinestatic |
Definition at line 422 of file XMLParser.h.
|
inlinestatic |
Definition at line 396 of file XMLParser.h.
|
inlinestatic |
Definition at line 403 of file XMLParser.h.
|
inline |
Definition at line 381 of file XMLParser.h.
|
inline |
Definition at line 447 of file XMLParser.h.
|
inline |
Definition at line 462 of file XMLParser.h.
|
inline |
Definition at line 483 of file XMLParser.h.
|
inline |
Definition at line 476 of file XMLParser.h.
|
inline |
Definition at line 538 of file XMLParser.h.
|
inline |
Definition at line 440 of file XMLParser.h.
|
inline |
Definition at line 514 of file XMLParser.h.
|
inline |
Definition at line 490 of file XMLParser.h.
|
inlineprotected |
Definition at line 548 of file XMLParser.h.
|
inline |
Definition at line 454 of file XMLParser.h.
|
inline |
Definition at line 469 of file XMLParser.h.
|
inline |
Definition at line 529 of file XMLParser.h.
|
inline |
Definition at line 433 of file XMLParser.h.
|
inline |
Definition at line 506 of file XMLParser.h.
|
inline |
Definition at line 499 of file XMLParser.h.
|
inline |
Definition at line 521 of file XMLParser.h.
|
inline |
Definition at line 147 of file XMLParser.h.
|
inline |
Definition at line 155 of file XMLParser.h.
|
inlinestaticprotected |
Definition at line 584 of file XMLParser.h.
|
inlinestaticprotected |
Definition at line 602 of file XMLParser.h.
|
inlinestaticprotected |
Definition at line 670 of file XMLParser.h.
|
inlinestaticprotected |
Definition at line 557 of file XMLParser.h.
|
inlinestaticprotected |
Definition at line 646 of file XMLParser.h.
|
inlinestaticprotected |
Definition at line 638 of file XMLParser.h.
|
inlinestaticprotected |
Definition at line 662 of file XMLParser.h.
|
protected |
Definition at line 691 of file XMLParser.h.