LatMRG Online Documentation unknown
Tools to analyze the lattice structure of linear generators
Loading...
Searching...
No Matches
tinyxml2::XMLUtil Class Reference

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 void ToStr (uint64_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 bool ToUnsigned64 (const char *str, uint64_t *value)
static void SetBoolSerialization (const char *writeTrue, const char *writeFalse)

Member Function Documentation

◆ SkipWhiteSpace() [1/2]

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

◆ SkipWhiteSpace() [2/2]

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

◆ IsWhiteSpace()

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

◆ IsNameStartChar()

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

◆ IsNameChar()

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

◆ StringEqual()

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

◆ IsUTF8Continuation()

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

◆ ReadBOM()

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

◆ GetCharacterRef()

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

◆ ConvertUTF32ToUTF8()

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

◆ ToStr() [1/7]

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

◆ ToStr() [2/7]

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

◆ ToStr() [3/7]

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

◆ ToStr() [4/7]

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

◆ ToStr() [5/7]

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

◆ ToStr() [6/7]

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

◆ ToStr() [7/7]

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

◆ ToInt()

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

◆ ToUnsigned()

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

◆ ToBool()

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

◆ ToFloat()

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

◆ ToDouble()

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

◆ ToInt64()

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

◆ ToUnsigned64()

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

◆ SetBoolSerialization()

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

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