Project

General

Profile

SO3Engine
tinyxml2::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 IsNameStartChar (unsigned char ch)
 
static bool IsNameChar (unsigned char ch)
 
static bool StringEqual (const char *p, const char *q, int nChar=INT_MAX)
 
static int IsUTF8Continuation (const char p)
 
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)
 

Detailed Description

Definition at line 484 of file tinyxml2.h.

Member Function Documentation

◆ ConvertUTF32ToUTF8()

static void tinyxml2::XMLUtil::ConvertUTF32ToUTF8 ( unsigned long  input,
char *  output,
int *  length 
)
static

◆ GetCharacterRef()

static const char * tinyxml2::XMLUtil::GetCharacterRef ( const char *  p,
char *  value,
int *  length 
)
static

◆ IsNameChar()

static bool tinyxml2::XMLUtil::IsNameChar ( unsigned char  ch)
inlinestatic

Definition at line 511 of file tinyxml2.h.

◆ IsNameStartChar()

static bool tinyxml2::XMLUtil::IsNameStartChar ( unsigned char  ch)
inlinestatic

Definition at line 505 of file tinyxml2.h.

◆ IsUTF8Continuation()

static int tinyxml2::XMLUtil::IsUTF8Continuation ( const char  p)
inlinestatic

Definition at line 534 of file tinyxml2.h.

◆ IsWhiteSpace()

static bool tinyxml2::XMLUtil::IsWhiteSpace ( char  p)
inlinestatic

Definition at line 501 of file tinyxml2.h.

◆ ReadBOM()

static const char * tinyxml2::XMLUtil::ReadBOM ( const char *  p,
bool *  hasBOM 
)
static

◆ SkipWhiteSpace() [1/2]

static char * tinyxml2::XMLUtil::SkipWhiteSpace ( char *  p)
inlinestatic

Definition at line 495 of file tinyxml2.h.

◆ SkipWhiteSpace() [2/2]

static const char * tinyxml2::XMLUtil::SkipWhiteSpace ( const char *  p)
inlinestatic

Definition at line 489 of file tinyxml2.h.

◆ StringEqual()

static bool tinyxml2::XMLUtil::StringEqual ( const char *  p,
const char *  q,
int  nChar = INT_MAX 
)
inlinestatic

Definition at line 518 of file tinyxml2.h.

◆ ToBool()

static bool tinyxml2::XMLUtil::ToBool ( const char *  str,
bool *  value 
)
static

◆ ToDouble()

static bool tinyxml2::XMLUtil::ToDouble ( const char *  str,
double *  value 
)
static

◆ ToFloat()

static bool tinyxml2::XMLUtil::ToFloat ( const char *  str,
float *  value 
)
static

◆ ToInt()

static bool tinyxml2::XMLUtil::ToInt ( const char *  str,
int *  value 
)
static

◆ ToStr() [1/5]

static void tinyxml2::XMLUtil::ToStr ( bool  v,
char *  buffer,
int  bufferSize 
)
static

◆ ToStr() [2/5]

static void tinyxml2::XMLUtil::ToStr ( double  v,
char *  buffer,
int  bufferSize 
)
static

◆ ToStr() [3/5]

static void tinyxml2::XMLUtil::ToStr ( float  v,
char *  buffer,
int  bufferSize 
)
static

◆ ToStr() [4/5]

static void tinyxml2::XMLUtil::ToStr ( int  v,
char *  buffer,
int  bufferSize 
)
static

◆ ToStr() [5/5]

static void tinyxml2::XMLUtil::ToStr ( unsigned  v,
char *  buffer,
int  bufferSize 
)
static

◆ ToUnsigned()

static bool tinyxml2::XMLUtil::ToUnsigned ( const char *  str,
unsigned *  value 
)
static

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