Bridge++  Version 1.4.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 bool 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 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 544 of file tinyxml2.h.

Member Function Documentation

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

Definition at line 299 of file tinyxml2.cpp.

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

Definition at line 347 of file tinyxml2.cpp.

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

Definition at line 576 of file tinyxml2.h.

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

Definition at line 565 of file tinyxml2.h.

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

Definition at line 599 of file tinyxml2.h.

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

Definition at line 561 of file tinyxml2.h.

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

Definition at line 281 of file tinyxml2.cpp.

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

Definition at line 547 of file tinyxml2.h.

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

Definition at line 555 of file tinyxml2.h.

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

Definition at line 583 of file tinyxml2.h.

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

Definition at line 480 of file tinyxml2.cpp.

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

Definition at line 507 of file tinyxml2.cpp.

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

Definition at line 499 of file tinyxml2.cpp.

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

Definition at line 464 of file tinyxml2.cpp.

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

Definition at line 431 of file tinyxml2.cpp.

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

Definition at line 437 of file tinyxml2.cpp.

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

Definition at line 443 of file tinyxml2.cpp.

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

Definition at line 452 of file tinyxml2.cpp.

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

Definition at line 458 of file tinyxml2.cpp.

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

Definition at line 472 of file tinyxml2.cpp.


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