GOAT (Geometrical optics application tool) 0.1
Loading...
Searching...
No Matches
tinyxml2::XMLUtil Class Reference

#include <tinyxml2.h>

Static Public Member Functions

static void ConvertUTF32ToUTF8 (unsigned long input, char *output, int *length)
static void ConvertUTF32ToUTF8 (unsigned long input, char *output, int *length)
static const char * GetCharacterRef (const char *p, char *value, int *length)
static const char * GetCharacterRef (const char *p, char *value, int *length)
static bool IsNameChar (unsigned char ch)
static bool IsNameChar (unsigned char ch)
static bool IsNameStartChar (unsigned char ch)
static bool IsNameStartChar (unsigned char ch)
static bool IsPrefixHex (const char *p)
static bool IsPrefixHex (const char *p)
static bool IsUTF8Continuation (const char p)
static bool IsUTF8Continuation (const char p)
static bool IsWhiteSpace (char p)
static bool IsWhiteSpace (char p)
static const char * ReadBOM (const char *p, bool *hasBOM)
static const char * ReadBOM (const char *p, bool *hasBOM)
static void SetBoolSerialization (const char *writeTrue, const char *writeFalse)
static void SetBoolSerialization (const char *writeTrue, const char *writeFalse)
static char * SkipWhiteSpace (char *const p, int *curLineNumPtr)
static char * SkipWhiteSpace (char *const p, int *curLineNumPtr)
static const char * SkipWhiteSpace (const char *p, int *curLineNumPtr)
static const char * SkipWhiteSpace (const char *p, int *curLineNumPtr)
static bool StringEqual (const char *p, const char *q, int nChar=INT_MAX)
static bool StringEqual (const char *p, const char *q, int nChar=INT_MAX)
static bool ToBool (const char *str, bool *value)
static bool ToBool (const char *str, bool *value)
static bool ToDouble (const char *str, double *value)
static bool ToDouble (const char *str, double *value)
static bool ToFloat (const char *str, float *value)
static bool ToFloat (const char *str, float *value)
static bool ToInt (const char *str, int *value)
static bool ToInt (const char *str, int *value)
static bool ToInt64 (const char *str, int64_t *value)
static bool ToInt64 (const char *str, int64_t *value)
static void ToStr (bool v, char *buffer, int bufferSize)
static void ToStr (bool v, char *buffer, int bufferSize)
static void ToStr (double v, char *buffer, int bufferSize)
static void ToStr (double v, char *buffer, int bufferSize)
static void ToStr (float v, char *buffer, int bufferSize)
static void ToStr (float v, char *buffer, int bufferSize)
static void ToStr (int v, char *buffer, int bufferSize)
static void ToStr (int v, char *buffer, int bufferSize)
static void ToStr (int64_t v, char *buffer, int bufferSize)
static void ToStr (int64_t v, char *buffer, int bufferSize)
static void ToStr (uint64_t v, char *buffer, int bufferSize)
static void ToStr (uint64_t v, char *buffer, int bufferSize)
static void ToStr (unsigned v, char *buffer, int bufferSize)
static void ToStr (unsigned v, char *buffer, int bufferSize)
static bool ToUnsigned (const char *str, unsigned *value)
static bool ToUnsigned (const char *str, unsigned *value)
static bool ToUnsigned64 (const char *str, uint64_t *value)
static bool ToUnsigned64 (const char *str, uint64_t *value)

Static Private Attributes

static const char * writeBoolFalse
static const char * writeBoolTrue

Detailed Description

Definition at line 551 of file tinyxml2.h.

Member Function Documentation

◆ ConvertUTF32ToUTF8() [1/2]

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

◆ ConvertUTF32ToUTF8() [2/2]

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

◆ GetCharacterRef() [1/2]

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

◆ GetCharacterRef() [2/2]

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

◆ IsNameChar() [1/2]

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

Definition at line 587 of file tinyxml2.h.

◆ IsNameChar() [2/2]

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

Definition at line 587 of file tinyxml2.h.

◆ IsNameStartChar() [1/2]

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

Definition at line 576 of file tinyxml2.h.

◆ IsNameStartChar() [2/2]

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

Definition at line 576 of file tinyxml2.h.

◆ IsPrefixHex() [1/2]

bool tinyxml2::XMLUtil::IsPrefixHex ( const char * p)
inlinestatic

Definition at line 594 of file tinyxml2.h.

◆ IsPrefixHex() [2/2]

bool tinyxml2::XMLUtil::IsPrefixHex ( const char * p)
inlinestatic

Definition at line 594 of file tinyxml2.h.

◆ IsUTF8Continuation() [1/2]

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

Definition at line 609 of file tinyxml2.h.

◆ IsUTF8Continuation() [2/2]

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

Definition at line 609 of file tinyxml2.h.

◆ IsWhiteSpace() [1/2]

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

Definition at line 572 of file tinyxml2.h.

◆ IsWhiteSpace() [2/2]

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

Definition at line 572 of file tinyxml2.h.

◆ ReadBOM() [1/2]

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

◆ ReadBOM() [2/2]

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

◆ SetBoolSerialization() [1/2]

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

◆ SetBoolSerialization() [2/2]

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

◆ SkipWhiteSpace() [1/4]

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

Definition at line 566 of file tinyxml2.h.

◆ SkipWhiteSpace() [2/4]

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

Definition at line 566 of file tinyxml2.h.

◆ SkipWhiteSpace() [3/4]

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

Definition at line 554 of file tinyxml2.h.

◆ SkipWhiteSpace() [4/4]

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

Definition at line 554 of file tinyxml2.h.

◆ StringEqual() [1/2]

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

Definition at line 599 of file tinyxml2.h.

◆ StringEqual() [2/2]

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

Definition at line 599 of file tinyxml2.h.

◆ ToBool() [1/2]

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

◆ ToBool() [2/2]

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

◆ ToDouble() [1/2]

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

◆ ToDouble() [2/2]

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

◆ ToFloat() [1/2]

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

◆ ToFloat() [2/2]

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

◆ ToInt() [1/2]

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

◆ ToInt() [2/2]

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

◆ ToInt64() [1/2]

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

◆ ToInt64() [2/2]

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

◆ ToStr() [1/14]

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

◆ ToStr() [2/14]

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

◆ ToStr() [3/14]

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

◆ ToStr() [4/14]

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

◆ ToStr() [5/14]

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

◆ ToStr() [6/14]

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

◆ ToStr() [7/14]

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

◆ ToStr() [8/14]

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

◆ ToStr() [9/14]

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

◆ ToStr() [10/14]

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

◆ ToStr() [11/14]

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

◆ ToStr() [12/14]

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

◆ ToStr() [13/14]

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

◆ ToStr() [14/14]

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

◆ ToUnsigned() [1/2]

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

◆ ToUnsigned() [2/2]

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

◆ ToUnsigned64() [1/2]

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

◆ ToUnsigned64() [2/2]

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

Member Data Documentation

◆ writeBoolFalse

const char * tinyxml2::XMLUtil::writeBoolFalse
staticprivate

Definition at line 645 of file tinyxml2.h.

◆ writeBoolTrue

const char * tinyxml2::XMLUtil::writeBoolTrue
staticprivate

Definition at line 644 of file tinyxml2.h.


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