MIDAS  0.75
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
Static Public Member Functions | List of all members
tinyxml2::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 int IsUTF8Continuation (const 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 bool ToLong (const char *str, long *value)
 
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 477 of file tinyxml2.h.

Member Function Documentation

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

Definition at line 282 of file tinyxml2.cpp.

Referenced by GetCharacterRef().

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

Definition at line 330 of file tinyxml2.cpp.

References ConvertUTF32ToUTF8().

Referenced by tinyxml2::StrPair::GetStr().

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

Definition at line 504 of file tinyxml2.h.

Referenced by tinyxml2::StrPair::ParseName().

static bool tinyxml2::XMLUtil::IsNameStartChar ( unsigned char  ch)
inlinestatic
static int tinyxml2::XMLUtil::IsUTF8Continuation ( const char  p)
inlinestatic

Definition at line 527 of file tinyxml2.h.

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

Definition at line 494 of file tinyxml2.h.

Referenced by tinyxml2::StrPair::CollapseWhitespace().

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

Definition at line 488 of file tinyxml2.h.

static bool tinyxml2::XMLUtil::StringEqual ( const char *  p,
const char *  q,
int  nChar = INT_MAX 
)
inlinestatic
bool tinyxml2::XMLUtil::ToBool ( const char *  str,
bool *  value 
)
static
bool tinyxml2::XMLUtil::ToDouble ( const char *  str,
double *  value 
)
static
bool tinyxml2::XMLUtil::ToFloat ( const char *  str,
float *  value 
)
static
bool tinyxml2::XMLUtil::ToInt ( const char *  str,
int *  value 
)
static
bool tinyxml2::XMLUtil::ToLong ( const char *  str,
long *  value 
)
static

Definition at line 438 of file tinyxml2.cpp.

References TIXML_SSCANF.

Referenced by tinyxml2::XMLAttribute::QueryLongValue().

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

Definition at line 414 of file tinyxml2.cpp.

References TIXML_SNPRINTF.

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

Definition at line 420 of file tinyxml2.cpp.

References TIXML_SNPRINTF.

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

Definition at line 426 of file tinyxml2.cpp.

References TIXML_SNPRINTF.

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

Definition at line 432 of file tinyxml2.cpp.

References TIXML_SNPRINTF.

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

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