Kigs Framework  Doc version 0.8
Open source multi purpose Rapid Application Development framework
Classes | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
XMLReaderFile Class Reference

#include <XMLReaderFile.h>

Classes

class  MyUserData
 
More...
 

Static Public Member Functions

static XMLBaseReadFile (const kstl::string &file, const char *force_as_format)
 read the whole file and return the XML hierarchy as an XML instance
 
static bool ReadFile (const kstl::string &file, CoreModifiable *delegateObject, const char *force_as_format)
 parse whole file using the given delegate object
 
static bool ReadFile (char *Buff, CoreModifiable *delegateObject, u64 buffsize, char *encoding=0)
 parse buffer
 
static XMLBaseReadString (const char *TheString)
 read a "memory" xml file (in a string)
 
static void StartDescriptionElement (void *data, const char *el, const char **attr)
 utility method
 
static void EndDescriptionElement (void *data, const char *el)
 utility method
 
template<typename StringType >
static void StartDescriptionElementStringRef (void *data, StringRef *el, StringRef **attr)
 utility method
 
static void EndDescriptionElementStringRef (void *data, StringRef *el)
 utility method
 
static void DeclHandler (void *userData, const char *version, const char *encoding, int standalone)
 utility method
 
static void CharacterHandler (void *userData, const char *s, int len)
 utility method
 
static void StartCData (void *userData)
 utility method
 
static void EndCData (void *userData, const char *s, int len)
 utility method
 
template<typename StringType >
static void CharacterHandlerStringRef (void *userData, const char *s, int len)
 utility method
 
template<typename StringType >
static void EndCDataStringRef (void *userData, const char *s, int len)
 utility method
 
static void StartDescriptionElementDelegate (void *data, const char *el, const char **attr)
 utility method
 
static void EndDescriptionElementDelegate (void *data, const char *el)
 utility method
 
static void DeclHandlerDelegate (void *userData, const char *version, const char *encoding, int standalone)
 utility method
 
static void CharacterHandlerDelegate (void *userData, const char *s, int len)
 utility method
 
static void StartCDataDelegate (void *userData)
 utility method
 
static void EndCDataDelegate (void *userData, const char *s, int len)
 utility method
 

Protected Member Functions

XMLBaseProtectedReadFile (FileHandle *file)
 internal method
 
 XMLReaderFile ()
 constructor
 
virtual ~XMLReaderFile ()
 destructor
 

Static Protected Member Functions

static bool CheckNotEmpty (const char *s, int len)
 utility method
 

Protected Attributes

XMLBasemXML
 associated XML instance
 

Detailed Description

Read an XML file into an XML structure.


The documentation for this class was generated from the following files: