cocos2d-x  2.2.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
XMLUtil Class Reference

#include <tinyxml2.h>

Static Public Member Functions

static const char * SkipWhiteSpace (const char *p)
static char * SkipWhiteSpace (char *p)
static bool IsWhiteSpace (char p)
static bool StringEqual (const char *p, const char *q, int nChar=INT_MAX)
static int IsUTF8Continuation (const char p)
static int IsAlphaNum (unsigned char anyByte)
static int IsAlpha (unsigned char anyByte)
static const char * ReadBOM (const char *p, bool *hasBOM)
static const char * GetCharacterRef (const char *p, char *value, int *length)
static void ConvertUTF32ToUTF8 (unsigned long input, char *output, int *length)
static void ToStr (int v, char *buffer, int bufferSize)
static void ToStr (unsigned v, char *buffer, int bufferSize)
static void ToStr (bool v, char *buffer, int bufferSize)
static void ToStr (float v, char *buffer, int bufferSize)
static void ToStr (double v, char *buffer, int bufferSize)
static bool ToInt (const char *str, int *value)
static bool ToUnsigned (const char *str, unsigned *value)
static bool ToBool (const char *str, bool *value)
static bool ToFloat (const char *str, float *value)
static bool ToDouble (const char *str, double *value)

Member Function Documentation

static void ConvertUTF32ToUTF8 ( unsigned long  input,
char *  output,
int *  length 
)
static
static const char* GetCharacterRef ( const char *  p,
char *  value,
int *  length 
)
static
static int IsAlpha ( unsigned char  anyByte)
inlinestatic
static int IsAlphaNum ( unsigned char  anyByte)
inlinestatic
static int IsUTF8Continuation ( const char  p)
inlinestatic
static bool IsWhiteSpace ( char  p)
inlinestatic
static const char* ReadBOM ( const char *  p,
bool *  hasBOM 
)
static
static const char* SkipWhiteSpace ( const char *  p)
inlinestatic
static char* SkipWhiteSpace ( char *  p)
inlinestatic
static bool StringEqual ( const char *  p,
const char *  q,
int  nChar = INT_MAX 
)
inlinestatic
static bool ToBool ( const char *  str,
bool *  value 
)
static
static bool ToDouble ( const char *  str,
double *  value 
)
static
static bool ToFloat ( const char *  str,
float *  value 
)
static
static bool ToInt ( const char *  str,
int *  value 
)
static
static void ToStr ( int  v,
char *  buffer,
int  bufferSize 
)
static
static void ToStr ( unsigned  v,
char *  buffer,
int  bufferSize 
)
static
static void ToStr ( bool  v,
char *  buffer,
int  bufferSize 
)
static
static void ToStr ( float  v,
char *  buffer,
int  bufferSize 
)
static
static void ToStr ( double  v,
char *  buffer,
int  bufferSize 
)
static
static bool ToUnsigned ( const char *  str,
unsigned *  value 
)
static

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