Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

CExpatImpl< T > Class Template Reference

#include <ExpatImpl.h>

List of all members.

Public Member Functions

 CExpatImpl ()
 ~CExpatImpl ()
bool Create (const XML_Char *pszEncoding=NULL, const XML_Char *pszSep=NULL)
void Destroy ()
bool Parse (const char *pszBuffer, int nLength=-1, bool fIsFinal=true)
bool ParseBuffer (int nLength, bool fIsFinal=true)
void * GetBuffer (int nLength)
void EnableStartElementHandler (bool fEnable=true)
void EnableEndElementHandler (bool fEnable=true)
void EnableElementHandler (bool fEnable=true)
void EnableCharacterDataHandler (bool fEnable=true)
void EnableProcessingInstructionHandler (bool fEnable=true)
void EnableCommentHandler (bool fEnable=true)
void EnableStartCdataSectionHandler (bool fEnable=true)
void EnableEndCdataSectionHandler (bool fEnable=true)
void EnableCdataSectionHandler (bool fEnable=true)
void EnableDefaultHandler (bool fEnable=true, bool fExpand=true)
void EnableExternalEntityRefHandler (bool fEnable=true)
void EnableUnknownEncodingHandler (bool fEnable=true)
void EnableStartNamespaceDeclHandler (bool fEnable=true)
void EnableEndNamespaceDeclHandler (bool fEnable=true)
void EnableNamespaceDeclHandler (bool fEnable=true)
void EnableXmlDeclHandler (bool fEnable=true)
void EnableStartDoctypeDeclHandler (bool fEnable=true)
void EnableEndDoctypeDeclHandler (bool fEnable=true)
void EnableDoctypeDeclHandler (bool fEnable=true)
enum XML_Error GetErrorCode ()
long GetCurrentByteIndex ()
int GetCurrentLineNumber ()
int GetCurrentColumnNumber ()
int GetCurrentByteCount ()
const char * GetInputContext (int *pnOffset, int *pnSize)
const XML_LChar * GetErrorString ()
void OnStartElement (const XML_Char *pszName, const XML_Char **papszAttrs)
void OnEndElement (const XML_Char *pszName)
void OnCharacterData (const XML_Char *pszData, int nLength)
void OnProcessingInstruction (const XML_Char *pszTarget, const XML_Char *pszData)
void OnComment (const XML_Char *pszData)
void OnStartCdataSection ()
void OnEndCdataSection ()
void OnDefault (const XML_Char *pszData, int nLength)
bool OnExternalEntityRef (const XML_Char *pszContext, const XML_Char *pszBase, const XML_Char *pszSystemID, const XML_Char *pszPublicID)
bool OnUnknownEncoding (const XML_Char *pszName, XML_Encoding *pInfo)
void OnStartNamespaceDecl (const XML_Char *pszPrefix, const XML_Char *pszURI)
void OnEndNamespaceDecl (const XML_Char *pszPrefix)
void OnXmlDecl (const XML_Char *pszVersion, const XML_Char *pszEncoding, bool fStandalone)
void OnStartDoctypeDecl (const XML_Char *pszDoctypeName, const XML_Char *pszSysID, const XML_Char *pszPubID, bool fHasInternalSubset)
void OnEndDoctypeDecl ()

Static Public Member Functions

static const XML_LChar * GetExpatVersion ()
static const XML_LChar * GetErrorString (enum XML_Error nError)

Protected Member Functions

void OnPostCreate ()

Static Protected Member Functions

static void StartElementHandler (void *pUserData, const XML_Char *pszName, const XML_Char **papszAttrs)
static void EndElementHandler (void *pUserData, const XML_Char *pszName)
static void CharacterDataHandler (void *pUserData, const XML_Char *pszData, int nLength)
static void ProcessingInstructionHandler (void *pUserData, const XML_Char *pszTarget, const XML_Char *pszData)
static void CommentHandler (void *pUserData, const XML_Char *pszData)
static void StartCdataSectionHandler (void *pUserData)
static void EndCdataSectionHandler (void *pUserData)
static void DefaultHandler (void *pUserData, const XML_Char *pszData, int nLength)
static int ExternalEntityRefHandler (void *pUserData, const XML_Char *pszContext, const XML_Char *pszBase, const XML_Char *pszSystemID, const XML_Char *pszPublicID)
static int UnknownEncodingHandler (void *pUserData, const XML_Char *pszName, XML_Encoding *pInfo)
static void StartNamespaceDeclHandler (void *pUserData, const XML_Char *pszPrefix, const XML_Char *pszURI)
static void EndNamespaceDeclHandler (void *pUserData, const XML_Char *pszPrefix)
static void XmlDeclHandler (void *pUserData, const XML_Char *pszVersion, const XML_Char *pszEncoding, int nStandalone)
static void StartDoctypeDeclHandler (void *pUserData, const XML_Char *pszDoctypeName, const XML_Char *pszSysID, const XML_Char *pszPubID, int nHasInternalSubset)
static void EndDoctypeDeclHandler (void *pUserData)

Protected Attributes

XML_Parser m_p

template<class T>
class CExpatImpl< T >


Constructor & Destructor Documentation

template<class T>
CExpatImpl< T >::CExpatImpl (   )  [inline]
 

template<class T>
CExpatImpl< T >::~CExpatImpl (   )  [inline]
 


Member Function Documentation

template<class T>
static void CExpatImpl< T >::CharacterDataHandler (  void *  pUserData,
const XML_Char *  pszData,
int  nLength
)  [inline, static, protected]
 

template<class T>
static void CExpatImpl< T >::CommentHandler (  void *  pUserData,
const XML_Char *  pszData
)  [inline, static, protected]
 

template<class T>
bool CExpatImpl< T >::Create (  const XML_Char *  pszEncoding = NULL,
const XML_Char *  pszSep = NULL
)  [inline]
 

template<class T>
static void CExpatImpl< T >::DefaultHandler (  void *  pUserData,
const XML_Char *  pszData,
int  nLength
)  [inline, static, protected]
 

template<class T>
void CExpatImpl< T >::Destroy (   )  [inline]
 

template<class T>
void CExpatImpl< T >::EnableCdataSectionHandler (  bool  fEnable = true  )  [inline]
 

template<class T>
void CExpatImpl< T >::EnableCharacterDataHandler (  bool  fEnable = true  )  [inline]
 

template<class T>
void CExpatImpl< T >::EnableCommentHandler (  bool  fEnable = true  )  [inline]
 

template<class T>
void CExpatImpl< T >::EnableDefaultHandler (  bool  fEnable = true,
bool  fExpand = true
)  [inline]
 

template<class T>
void CExpatImpl< T >::EnableDoctypeDeclHandler (  bool  fEnable = true  )  [inline]
 

template<class T>
void CExpatImpl< T >::EnableElementHandler (  bool  fEnable = true  )  [inline]
 

template<class T>
void CExpatImpl< T >::EnableEndCdataSectionHandler (  bool  fEnable = true  )  [inline]
 

template<class T>
void CExpatImpl< T >::EnableEndDoctypeDeclHandler (  bool  fEnable = true  )  [inline]
 

template<class T>
void CExpatImpl< T >::EnableEndElementHandler (  bool  fEnable = true  )  [inline]
 

template<class T>
void CExpatImpl< T >::EnableEndNamespaceDeclHandler (  bool  fEnable = true  )  [inline]
 

template<class T>
void CExpatImpl< T >::EnableExternalEntityRefHandler (  bool  fEnable = true  )  [inline]
 

template<class T>
void CExpatImpl< T >::EnableNamespaceDeclHandler (  bool  fEnable = true  )  [inline]
 

template<class T>
void CExpatImpl< T >::EnableProcessingInstructionHandler (  bool  fEnable = true  )  [inline]
 

template<class T>
void CExpatImpl< T >::EnableStartCdataSectionHandler (  bool  fEnable = true  )  [inline]
 

template<class T>
void CExpatImpl< T >::EnableStartDoctypeDeclHandler (  bool  fEnable = true  )  [inline]
 

template<class T>
void CExpatImpl< T >::EnableStartElementHandler (  bool  fEnable = true  )  [inline]
 

template<class T>
void CExpatImpl< T >::EnableStartNamespaceDeclHandler (  bool  fEnable = true  )  [inline]
 

template<class T>
void CExpatImpl< T >::EnableUnknownEncodingHandler (  bool  fEnable = true  )  [inline]
 

template<class T>
void CExpatImpl< T >::EnableXmlDeclHandler (  bool  fEnable = true  )  [inline]
 

template<class T>
static void CExpatImpl< T >::EndCdataSectionHandler (  void *  pUserData  )  [inline, static, protected]
 

template<class T>
static void CExpatImpl< T >::EndDoctypeDeclHandler (  void *  pUserData  )  [inline, static, protected]
 

template<class T>
static void CExpatImpl< T >::EndElementHandler (  void *  pUserData,
const XML_Char *  pszName
)  [inline, static, protected]
 

template<class T>
static void CExpatImpl< T >::EndNamespaceDeclHandler (  void *  pUserData,
const XML_Char *  pszPrefix
)  [inline, static, protected]
 

template<class T>
static int CExpatImpl< T >::ExternalEntityRefHandler (  void *  pUserData,
const XML_Char *  pszContext,
const XML_Char *  pszBase,
const XML_Char *  pszSystemID,
const XML_Char *  pszPublicID
)  [inline, static, protected]
 

template<class T>
void* CExpatImpl< T >::GetBuffer (  int  nLength  )  [inline]
 

template<class T>
int CExpatImpl< T >::GetCurrentByteCount (   )  [inline]
 

template<class T>
long CExpatImpl< T >::GetCurrentByteIndex (   )  [inline]
 

template<class T>
int CExpatImpl< T >::GetCurrentColumnNumber (   )  [inline]
 

template<class T>
int CExpatImpl< T >::GetCurrentLineNumber (   )  [inline]
 

template<class T>
enum XML_Error CExpatImpl< T >::GetErrorCode (   )  [inline]
 

template<class T>
static const XML_LChar* CExpatImpl< T >::GetErrorString (  enum XML_Error  nError  )  [inline, static]
 

template<class T>
const XML_LChar* CExpatImpl< T >::GetErrorString (   )  [inline]
 

template<class T>
static const XML_LChar* CExpatImpl< T >::GetExpatVersion (   )  [inline, static]
 

template<class T>
const char* CExpatImpl< T >::GetInputContext (  int *  pnOffset,
int *  pnSize
)  [inline]
 

template<class T>
void CExpatImpl< T >::OnCharacterData (  const XML_Char *  pszData,
int  nLength
)  [inline]
 

Reimplemented in CExpat.

template<class T>
void CExpatImpl< T >::OnComment (  const XML_Char *  pszData  )  [inline]
 

Reimplemented in CExpat.

template<class T>
void CExpatImpl< T >::OnDefault (  const XML_Char *  pszData,
int  nLength
)  [inline]
 

Reimplemented in CExpat.

template<class T>
void CExpatImpl< T >::OnEndCdataSection (   )  [inline]
 

Reimplemented in CExpat.

template<class T>
void CExpatImpl< T >::OnEndDoctypeDecl (   )  [inline]
 

Reimplemented in CExpat.

template<class T>
void CExpatImpl< T >::OnEndElement (  const XML_Char *  pszName  )  [inline]
 

Reimplemented in CExpat, and Scene.

template<class T>
void CExpatImpl< T >::OnEndNamespaceDecl (  const XML_Char *  pszPrefix  )  [inline]
 

Reimplemented in CExpat.

template<class T>
bool CExpatImpl< T >::OnExternalEntityRef (  const XML_Char *  pszContext,
const XML_Char *  pszBase,
const XML_Char *  pszSystemID,
const XML_Char *  pszPublicID
)  [inline]
 

Reimplemented in CExpat.

template<class T>
void CExpatImpl< T >::OnPostCreate (   )  [inline, protected]
 

template<class T>
void CExpatImpl< T >::OnProcessingInstruction (  const XML_Char *  pszTarget,
const XML_Char *  pszData
)  [inline]
 

Reimplemented in CExpat.

template<class T>
void CExpatImpl< T >::OnStartCdataSection (   )  [inline]
 

Reimplemented in CExpat.

template<class T>
void CExpatImpl< T >::OnStartDoctypeDecl (  const XML_Char *  pszDoctypeName,
const XML_Char *  pszSysID,
const XML_Char *  pszPubID,
bool  fHasInternalSubset
)  [inline]
 

Reimplemented in CExpat.

template<class T>
void CExpatImpl< T >::OnStartElement (  const XML_Char *  pszName,
const XML_Char **  papszAttrs
)  [inline]
 

Reimplemented in CExpat, Parameters, and Scene.

template<class T>
void CExpatImpl< T >::OnStartNamespaceDecl (  const XML_Char *  pszPrefix,
const XML_Char *  pszURI
)  [inline]
 

Reimplemented in CExpat.

template<class T>
bool CExpatImpl< T >::OnUnknownEncoding (  const XML_Char *  pszName,
XML_Encoding *  pInfo
)  [inline]
 

Reimplemented in CExpat.

template<class T>
void CExpatImpl< T >::OnXmlDecl (  const XML_Char *  pszVersion,
const XML_Char *  pszEncoding,
bool  fStandalone
)  [inline]
 

Reimplemented in CExpat.

template<class T>
bool CExpatImpl< T >::Parse (  const char *  pszBuffer,
int  nLength = -1,
bool  fIsFinal = true
)  [inline]
 

template<class T>
bool CExpatImpl< T >::ParseBuffer (  int  nLength,
bool  fIsFinal = true
)  [inline]
 

template<class T>
static void CExpatImpl< T >::ProcessingInstructionHandler (  void *  pUserData,
const XML_Char *  pszTarget,
const XML_Char *  pszData
)  [inline, static, protected]
 

template<class T>
static void CExpatImpl< T >::StartCdataSectionHandler (  void *  pUserData  )  [inline, static, protected]
 

template<class T>
static void CExpatImpl< T >::StartDoctypeDeclHandler (  void *  pUserData,
const XML_Char *  pszDoctypeName,
const XML_Char *  pszSysID,
const XML_Char *  pszPubID,
int  nHasInternalSubset
)  [inline, static, protected]
 

template<class T>
static void CExpatImpl< T >::StartElementHandler (  void *  pUserData,
const XML_Char *  pszName,
const XML_Char **  papszAttrs
)  [inline, static, protected]
 

template<class T>
static void CExpatImpl< T >::StartNamespaceDeclHandler (  void *  pUserData,
const XML_Char *  pszPrefix,
const XML_Char *  pszURI
)  [inline, static, protected]
 

template<class T>
static int CExpatImpl< T >::UnknownEncodingHandler (  void *  pUserData,
const XML_Char *  pszName,
XML_Encoding *  pInfo
)  [inline, static, protected]
 

template<class T>
static void CExpatImpl< T >::XmlDeclHandler (  void *  pUserData,
const XML_Char *  pszVersion,
const XML_Char *  pszEncoding,
int  nStandalone
)  [inline, static, protected]
 


Member Data Documentation

template<class T>
XML_Parser CExpatImpl< T >::m_p [protected]
 


Generated on Thu Mar 24 12:53:48 2005 for Septant by  doxygen 1.4.1