#include <tinyxml2.h>
Static Public Member Functions | |
static void | ConvertUTF32ToUTF8 (unsigned long input, char *output, int *length) |
static const char * | GetCharacterRef (const char *p, char *value, int *length) |
static bool | IsNameChar (unsigned char ch) |
static bool | IsNameStartChar (unsigned char ch) |
static bool | IsUTF8Continuation (char p) |
static bool | IsWhiteSpace (char p) |
static const char * | ReadBOM (const char *p, bool *hasBOM) |
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 | StringEqual (const char *p, const char *q, int nChar=INT_MAX) |
static bool | ToBool (const char *str, bool *value) |
static bool | ToDouble (const char *str, double *value) |
static bool | ToFloat (const char *str, float *value) |
static bool | ToInt (const char *str, int *value) |
static bool | ToInt64 (const char *str, int64_t *value) |
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 | ToUnsigned (const char *str, unsigned *value) |
Static Private Attributes | |
static const char * | writeBoolFalse = "false" |
static const char * | writeBoolTrue = "true" |
Definition at line 543 of file tinyxml2.h.
void tinyxml2::XMLUtil::ConvertUTF32ToUTF8 | ( | unsigned long | input, |
char * | output, | ||
int * | length | ||
) | [static] |
Definition at line 403 of file tinyxml2.cpp.
const char * tinyxml2::XMLUtil::GetCharacterRef | ( | const char * | p, |
char * | value, | ||
int * | length | ||
) | [static] |
Definition at line 456 of file tinyxml2.cpp.
static bool tinyxml2::XMLUtil::IsNameChar | ( | unsigned char | ch | ) | [inline, static] |
Definition at line 579 of file tinyxml2.h.
static bool tinyxml2::XMLUtil::IsNameStartChar | ( | unsigned char | ch | ) | [inline, static] |
Definition at line 568 of file tinyxml2.h.
static bool tinyxml2::XMLUtil::IsUTF8Continuation | ( | char | p | ) | [inline, static] |
Definition at line 596 of file tinyxml2.h.
static bool tinyxml2::XMLUtil::IsWhiteSpace | ( | char | p | ) | [inline, static] |
Definition at line 564 of file tinyxml2.h.
const char * tinyxml2::XMLUtil::ReadBOM | ( | const char * | p, |
bool * | hasBOM | ||
) | [static] |
Definition at line 385 of file tinyxml2.cpp.
void tinyxml2::XMLUtil::SetBoolSerialization | ( | const char * | writeTrue, |
const char * | writeFalse | ||
) | [static] |
Definition at line 375 of file tinyxml2.cpp.
static const char* tinyxml2::XMLUtil::SkipWhiteSpace | ( | const char * | p, |
int * | curLineNumPtr | ||
) | [inline, static] |
Definition at line 546 of file tinyxml2.h.
static char* tinyxml2::XMLUtil::SkipWhiteSpace | ( | char * | p, |
int * | curLineNumPtr | ||
) | [inline, static] |
Definition at line 558 of file tinyxml2.h.
static bool tinyxml2::XMLUtil::StringEqual | ( | const char * | p, |
const char * | q, | ||
int | nChar = INT_MAX |
||
) | [inline, static] |
Definition at line 586 of file tinyxml2.h.
bool tinyxml2::XMLUtil::ToBool | ( | const char * | str, |
bool * | value | ||
) | [static] |
Definition at line 608 of file tinyxml2.cpp.
bool tinyxml2::XMLUtil::ToDouble | ( | const char * | str, |
double * | value | ||
) | [static] |
Definition at line 636 of file tinyxml2.cpp.
bool tinyxml2::XMLUtil::ToFloat | ( | const char * | str, |
float * | value | ||
) | [static] |
Definition at line 627 of file tinyxml2.cpp.
bool tinyxml2::XMLUtil::ToInt | ( | const char * | str, |
int * | value | ||
) | [static] |
Definition at line 592 of file tinyxml2.cpp.
bool tinyxml2::XMLUtil::ToInt64 | ( | const char * | str, |
int64_t * | value | ||
) | [static] |
Definition at line 645 of file tinyxml2.cpp.
void tinyxml2::XMLUtil::ToStr | ( | int | v, |
char * | buffer, | ||
int | bufferSize | ||
) | [static] |
Definition at line 552 of file tinyxml2.cpp.
void tinyxml2::XMLUtil::ToStr | ( | unsigned | v, |
char * | buffer, | ||
int | bufferSize | ||
) | [static] |
Definition at line 558 of file tinyxml2.cpp.
void tinyxml2::XMLUtil::ToStr | ( | bool | v, |
char * | buffer, | ||
int | bufferSize | ||
) | [static] |
Definition at line 564 of file tinyxml2.cpp.
void tinyxml2::XMLUtil::ToStr | ( | float | v, |
char * | buffer, | ||
int | bufferSize | ||
) | [static] |
Definition at line 573 of file tinyxml2.cpp.
void tinyxml2::XMLUtil::ToStr | ( | double | v, |
char * | buffer, | ||
int | bufferSize | ||
) | [static] |
Definition at line 579 of file tinyxml2.cpp.
void tinyxml2::XMLUtil::ToStr | ( | int64_t | v, |
char * | buffer, | ||
int | bufferSize | ||
) | [static] |
Definition at line 585 of file tinyxml2.cpp.
bool tinyxml2::XMLUtil::ToUnsigned | ( | const char * | str, |
unsigned * | value | ||
) | [static] |
Definition at line 600 of file tinyxml2.cpp.
const char * tinyxml2::XMLUtil::writeBoolFalse = "false" [static, private] |
Definition at line 631 of file tinyxml2.h.
const char * tinyxml2::XMLUtil::writeBoolTrue = "true" [static, private] |
Definition at line 630 of file tinyxml2.h.