Twitch SDK (Internal)
Static Public Member Functions | List of all members
ttv::xml::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 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)
 

Member Function Documentation

◆ ConvertUTF32ToUTF8()

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

◆ GetCharacterRef()

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

◆ IsNameChar()

static bool ttv::xml::XMLUtil::IsNameChar ( unsigned char  ch)
inlinestatic

◆ IsNameStartChar()

static bool ttv::xml::XMLUtil::IsNameStartChar ( unsigned char  ch)
inlinestatic

◆ IsUTF8Continuation()

static bool ttv::xml::XMLUtil::IsUTF8Continuation ( char  p)
inlinestatic

◆ IsWhiteSpace()

static bool ttv::xml::XMLUtil::IsWhiteSpace ( char  p)
inlinestatic

◆ ReadBOM()

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

◆ SkipWhiteSpace() [1/2]

static const char* ttv::xml::XMLUtil::SkipWhiteSpace ( const char *  p)
inlinestatic

◆ SkipWhiteSpace() [2/2]

static char* ttv::xml::XMLUtil::SkipWhiteSpace ( char *  p)
inlinestatic

◆ StringEqual()

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

◆ ToBool()

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

◆ ToDouble()

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

◆ ToFloat()

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

◆ ToInt()

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

◆ ToInt64()

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

◆ ToStr() [1/6]

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

◆ ToStr() [2/6]

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

◆ ToStr() [3/6]

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

◆ ToStr() [4/6]

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

◆ ToStr() [5/6]

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

◆ ToStr() [6/6]

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

◆ ToUnsigned()

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

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