Openholo  v5.0
Open Source Digital Holographic Library
tinyxml2::XMLUtil Class Reference

#include <tinyxml2.h>

Static Public Member Functions

static const char * SkipWhiteSpace (const char *p, int *curLineNumPtr)
 
static char * SkipWhiteSpace (char *p, int *curLineNumPtr)
 
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 bool IsUTF8Continuation (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 void ToStr (int64_t 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)
 
static bool ToInt64 (const char *str, int64_t *value)
 
static void SetBoolSerialization (const char *writeTrue, const char *writeFalse)
 
static const char * SkipWhiteSpace (const char *p, int *curLineNumPtr)
 
static char * SkipWhiteSpace (char *p, int *curLineNumPtr)
 
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 bool IsUTF8Continuation (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 void ToStr (int64_t 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)
 
static bool ToInt64 (const char *str, int64_t *value)
 
static void SetBoolSerialization (const char *writeTrue, const char *writeFalse)
 
static const char * SkipWhiteSpace (const char *p, int *curLineNumPtr)
 
static char * SkipWhiteSpace (char *p, int *curLineNumPtr)
 
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 bool IsUTF8Continuation (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 void ToStr (int64_t 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)
 
static bool ToInt64 (const char *str, int64_t *value)
 
static void SetBoolSerialization (const char *writeTrue, const char *writeFalse)
 

Detailed Description

Definition at line 549 of file tinyxml2.h.

Member Function Documentation

◆ ConvertUTF32ToUTF8() [1/3]

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

Definition at line 403 of file tinyxml2.cpp.

◆ ConvertUTF32ToUTF8() [2/3]

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

◆ ConvertUTF32ToUTF8() [3/3]

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

◆ GetCharacterRef() [1/3]

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

Definition at line 456 of file tinyxml2.cpp.

◆ GetCharacterRef() [2/3]

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

◆ GetCharacterRef() [3/3]

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

◆ IsNameChar() [1/3]

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

Definition at line 585 of file tinyxml2.h.

◆ IsNameChar() [2/3]

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

Definition at line 585 of file tinyxml2.h.

◆ IsNameChar() [3/3]

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

Definition at line 585 of file tinyxml2.h.

◆ IsNameStartChar() [1/3]

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

Definition at line 574 of file tinyxml2.h.

◆ IsNameStartChar() [2/3]

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

Definition at line 574 of file tinyxml2.h.

◆ IsNameStartChar() [3/3]

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

Definition at line 574 of file tinyxml2.h.

◆ IsUTF8Continuation() [1/3]

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

Definition at line 602 of file tinyxml2.h.

◆ IsUTF8Continuation() [2/3]

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

Definition at line 602 of file tinyxml2.h.

◆ IsUTF8Continuation() [3/3]

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

Definition at line 602 of file tinyxml2.h.

◆ IsWhiteSpace() [1/3]

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

Definition at line 570 of file tinyxml2.h.

◆ IsWhiteSpace() [2/3]

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

Definition at line 570 of file tinyxml2.h.

◆ IsWhiteSpace() [3/3]

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

Definition at line 570 of file tinyxml2.h.

◆ ReadBOM() [1/3]

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

Definition at line 385 of file tinyxml2.cpp.

◆ ReadBOM() [2/3]

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

◆ ReadBOM() [3/3]

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

◆ SetBoolSerialization() [1/3]

static void tinyxml2::XMLUtil::SetBoolSerialization ( const char *  writeTrue,
const char *  writeFalse 
)
static

◆ SetBoolSerialization() [2/3]

void tinyxml2::XMLUtil::SetBoolSerialization ( const char *  writeTrue,
const char *  writeFalse 
)
static

Definition at line 375 of file tinyxml2.cpp.

◆ SetBoolSerialization() [3/3]

static void tinyxml2::XMLUtil::SetBoolSerialization ( const char *  writeTrue,
const char *  writeFalse 
)
static

◆ SkipWhiteSpace() [1/6]

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

Definition at line 552 of file tinyxml2.h.

◆ SkipWhiteSpace() [2/6]

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

Definition at line 552 of file tinyxml2.h.

◆ SkipWhiteSpace() [3/6]

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

Definition at line 552 of file tinyxml2.h.

◆ SkipWhiteSpace() [4/6]

static char* tinyxml2::XMLUtil::SkipWhiteSpace ( char *  p,
int *  curLineNumPtr 
)
inlinestatic

Definition at line 564 of file tinyxml2.h.

◆ SkipWhiteSpace() [5/6]

static char* tinyxml2::XMLUtil::SkipWhiteSpace ( char *  p,
int *  curLineNumPtr 
)
inlinestatic

Definition at line 564 of file tinyxml2.h.

◆ SkipWhiteSpace() [6/6]

static char* tinyxml2::XMLUtil::SkipWhiteSpace ( char *  p,
int *  curLineNumPtr 
)
inlinestatic

Definition at line 564 of file tinyxml2.h.

◆ StringEqual() [1/3]

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

Definition at line 592 of file tinyxml2.h.

◆ StringEqual() [2/3]

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

Definition at line 592 of file tinyxml2.h.

◆ StringEqual() [3/3]

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

Definition at line 592 of file tinyxml2.h.

◆ ToBool() [1/3]

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

◆ ToBool() [2/3]

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

Definition at line 608 of file tinyxml2.cpp.

◆ ToBool() [3/3]

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

◆ ToDouble() [1/3]

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

◆ ToDouble() [2/3]

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

Definition at line 636 of file tinyxml2.cpp.

◆ ToDouble() [3/3]

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

◆ ToFloat() [1/3]

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

◆ ToFloat() [2/3]

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

Definition at line 627 of file tinyxml2.cpp.

◆ ToFloat() [3/3]

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

◆ ToInt() [1/3]

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

Definition at line 592 of file tinyxml2.cpp.

◆ ToInt() [2/3]

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

◆ ToInt() [3/3]

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

◆ ToInt64() [1/3]

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

◆ ToInt64() [2/3]

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

◆ ToInt64() [3/3]

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

Definition at line 645 of file tinyxml2.cpp.

◆ ToStr() [1/18]

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

Definition at line 552 of file tinyxml2.cpp.

◆ ToStr() [2/18]

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

◆ ToStr() [3/18]

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

◆ ToStr() [4/18]

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

◆ ToStr() [5/18]

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

◆ ToStr() [6/18]

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

Definition at line 558 of file tinyxml2.cpp.

◆ ToStr() [7/18]

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

◆ ToStr() [8/18]

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

Definition at line 564 of file tinyxml2.cpp.

◆ ToStr() [9/18]

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

◆ ToStr() [10/18]

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

◆ ToStr() [11/18]

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

◆ ToStr() [12/18]

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

Definition at line 573 of file tinyxml2.cpp.

◆ ToStr() [13/18]

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

◆ ToStr() [14/18]

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

Definition at line 579 of file tinyxml2.cpp.

◆ ToStr() [15/18]

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

◆ ToStr() [16/18]

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

Definition at line 585 of file tinyxml2.cpp.

◆ ToStr() [17/18]

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

◆ ToStr() [18/18]

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

◆ ToUnsigned() [1/3]

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

◆ ToUnsigned() [2/3]

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

Definition at line 600 of file tinyxml2.cpp.

◆ ToUnsigned() [3/3]

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

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