IncredibleXMLParser  3.05
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Macros | Typedefs | Enumerations | Functions
IXMLParser.h File Reference
#include <stdlib.h>
#include <wchar.h>

Go to the source code of this file.

Classes

struct  IXMLResults
 Structure used to obtain error details if the parse fails. More...
 
struct  IXMLClear
 Structure for XML clear (unformatted) node (usually comments) More...
 
struct  IXMLAttribute
 Structure for XML attribute. More...
 
class  IXMLReader
 The IXMLReader is used to "stream" data inside the Incredible XML Pull Parser. More...
 
class  IXMLReaderFile
 The IXMLReaderFile is used to "stream" data coming from a file inside the Incredible XML Pull Parser. More...
 
class  IXMLReaderStringSZ
 The IXMLReaderStringSZ is used to "stream" data coming from an in-memory zero-terminated String inside the Incredible XML Pull Parser. More...
 
class  IPullParser
 Pure Virtual Class defining a basic template for a Pull Parser. More...
 
class  IPullParser::IXMLReader_ToUTF16
 
class  IPullParser::IXMLReader_FromUTF16
 
class  IPullParser::IXMLReader_PassThrough
 
class  IXMLPullParser
 Class Defining the Incredible XML Pull Parser. More...
 
class  IJSONPullParser
 To parse JSON data strings, use the Incredible JSON Pull Parser (see example 12) More...
 
class  IXMLDomParser
 Class Defining the Incredible XML Dom Parser. More...
 
class  ITCXMLNode
 Main Class representing a Incredible Transient Constant XML node. More...
 
class  ICXMLNode
 Main Class representing a Incredible Non-Transient and Constant XML node. More...
 
class  IXMLNode
 Main Class representing an Incredible Non-Transient and Editable XML node. More...
 
class  ToIXMLStringTool
 Helper class to create XML files using "printf", "fprintf", "cout",... functions. More...
 
class  IXMLRenderer
 Class Defining the Incredible XML Renderer. More...
 
class  IXMLParserBase64Tool
 Helper class to include binary data inside XML strings using "Base64 encoding". More...
 

Macros

#define XMLDLLENTRY
 
#define XMLDLLENTRY
 
#define _CXML(c)   c
 
#define FALSE   0
 
#define TRUE   1
 

Typedefs

typedef const char * IXMLCStr
 
typedef char * IXMLStr
 
typedef char IXMLChar
 
typedef enum IXMLError IXMLError
 Enumeration for XML parse errors. More...
 
typedef struct IXMLResults IXMLResults
 Structure used to obtain error details if the parse fails. More...
 
typedef struct IXMLClear IXMLClear
 Structure for XML clear (unformatted) node (usually comments) More...
 
typedef struct IXMLAttribute IXMLAttribute
 Structure for XML attribute. More...
 
typedef int IXMLElementPosition
 

Enumerations

enum  IXMLError {
  IXMLError_None = 0, IXMLError_MissingEndTag, IXMLError_NoXMLTagFound, IXMLError_Empty,
  IXMLError_UnmatchedEndTag, IXMLError_UnmatchedEndClearTag, IXMLError_FileNotFound, IXMLError_FirstTagNotFound,
  IXMLError_UnknownCharacterEntity, IXMLError_CharacterCodeAbove255, IXMLError_invalidCharInTagName, IXMLError_invalidCharInEndTagName,
  IXMLError_invalidCharAtTagEnd, IXMLError_invalidCharAtPIEnd, IXMLError_AttributeWithNoEqualSign, IXMLError_QuoteOrDoubleQuoteExpected,
  IXMLError_CharConversionModeError, IXMLError_MaxMemoryReached, IXMLError_MemoryAllocationError, IXMLError_readError,
  IXMLError_CannotOpenWriteFile, IXMLError_CannotWriteFile, IXMLError_Base64DataSizeIsNotMultipleOf4, IXMLError_Base64DecodeIllegalCharacter,
  IXMLError_Base64DecodeTruncatedData, IXMLError_Base64DecodeBufferTooSmall
}
 Enumeration for XML parse errors. More...
 

Functions

XMLDLLENTRY IXMLStr IXMLStringDup (IXMLCStr source, int cbData=-1)
 Duplicate (copy in a new allocated buffer) the source string. More...
 
XMLDLLENTRY void freeIXMLString (IXMLStr t)
 to free the string allocated inside the "stringDup" function. More...
 

Macro Definition Documentation

#define _CXML (   c)    c

Definition at line 321 of file IXMLParser.h.

#define FALSE   0

Definition at line 328 of file IXMLParser.h.

#define TRUE   1

Definition at line 331 of file IXMLParser.h.

Referenced by example3().

#define XMLDLLENTRY

Definition at line 305 of file IXMLParser.h.

#define XMLDLLENTRY

Definition at line 305 of file IXMLParser.h.

Typedef Documentation

typedef struct IXMLAttribute IXMLAttribute

Structure for XML attribute.

typedef char IXMLChar

Definition at line 324 of file IXMLParser.h.

typedef struct IXMLClear IXMLClear

Structure for XML clear (unformatted) node (usually comments)

typedef const char* IXMLCStr

Definition at line 322 of file IXMLParser.h.

typedef enum IXMLError IXMLError

Enumeration for XML parse errors.

typedef struct IXMLResults IXMLResults

Structure used to obtain error details if the parse fails.

typedef char* IXMLStr

Definition at line 323 of file IXMLParser.h.

Enumeration Type Documentation

enum IXMLError

Enumeration for XML parse errors.

Enumerator
IXMLError_None 
IXMLError_MissingEndTag 
IXMLError_NoXMLTagFound 
IXMLError_Empty 
IXMLError_UnmatchedEndTag 
IXMLError_UnmatchedEndClearTag 
IXMLError_FileNotFound 
IXMLError_FirstTagNotFound 
IXMLError_UnknownCharacterEntity 
IXMLError_CharacterCodeAbove255 
IXMLError_invalidCharInTagName 
IXMLError_invalidCharInEndTagName 
IXMLError_invalidCharAtTagEnd 
IXMLError_invalidCharAtPIEnd 
IXMLError_AttributeWithNoEqualSign 
IXMLError_QuoteOrDoubleQuoteExpected 
IXMLError_CharConversionModeError 
IXMLError_MaxMemoryReached 
IXMLError_MemoryAllocationError 
IXMLError_readError 
IXMLError_CannotOpenWriteFile 
IXMLError_CannotWriteFile 
IXMLError_Base64DataSizeIsNotMultipleOf4 
IXMLError_Base64DecodeIllegalCharacter 
IXMLError_Base64DecodeTruncatedData 
IXMLError_Base64DecodeBufferTooSmall 

Definition at line 335 of file IXMLParser.h.