Project

General

Profile

Xml Scol plugin
tinyxml2::XMLUtil Class Reference

Static Public Member Functions

static const charSkipWhiteSpace (const char *p)
 
static charSkipWhiteSpace (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 charReadBOM (const char *p, bool *hasBOM)
 
static const charGetCharacterRef (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 430 of file tinyxml2.h.

Member Function Documentation

◆ ConvertUTF32ToUTF8()

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

Definition at line 289 of file tinyxml2.cpp.

◆ GetCharacterRef()

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

Definition at line 335 of file tinyxml2.cpp.

◆ IsAlpha()

static int tinyxml2::XMLUtil::IsAlpha ( unsigned char  anyByte)
inlinestatic

Definition at line 472 of file tinyxml2.h.

◆ IsAlphaNum()

static int tinyxml2::XMLUtil::IsAlphaNum ( unsigned char  anyByte)
inlinestatic

Definition at line 469 of file tinyxml2.h.

◆ IsUTF8Continuation()

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

Definition at line 466 of file tinyxml2.h.

◆ IsWhiteSpace()

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

Definition at line 447 of file tinyxml2.h.

◆ ReadBOM()

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

Definition at line 274 of file tinyxml2.cpp.

◆ SkipWhiteSpace() [1/2]

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

Definition at line 441 of file tinyxml2.h.

◆ SkipWhiteSpace() [2/2]

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

Definition at line 435 of file tinyxml2.h.

◆ StringEqual()

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

Definition at line 451 of file tinyxml2.h.

◆ ToBool()

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

Definition at line 459 of file tinyxml2.cpp.

◆ ToDouble()

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

Definition at line 486 of file tinyxml2.cpp.

◆ ToFloat()

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

Definition at line 478 of file tinyxml2.cpp.

◆ ToInt()

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

Definition at line 443 of file tinyxml2.cpp.

◆ ToStr() [1/5]

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

Definition at line 425 of file tinyxml2.cpp.

◆ ToStr() [2/5]

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

Definition at line 437 of file tinyxml2.cpp.

◆ ToStr() [3/5]

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

Definition at line 431 of file tinyxml2.cpp.

◆ ToStr() [4/5]

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

Definition at line 413 of file tinyxml2.cpp.

◆ ToStr() [5/5]

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

Definition at line 419 of file tinyxml2.cpp.

◆ ToUnsigned()

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

Definition at line 451 of file tinyxml2.cpp.


The documentation for this class was generated from the following files:
  • G:/work/subversion/scol-technologies/trunk/scol/plugins/sXml/include/tinyxml2.h
  • G:/work/subversion/scol-technologies/trunk/scol/plugins/sXml/src/tinyxml2.cpp