ReactOS  0.4.14-dev-552-g2fad488
tinyxml2.cpp File Reference
#include "tinyxml2.h"
#include <new>
#include <cstddef>
#include <cstdarg>
Include dependency graph for tinyxml2.cpp:

Go to the source code of this file.

Classes

struct  tinyxml2::Entity
 
struct  tinyxml2::LongFitsIntoSizeTMinusOne< bool >
 

Namespaces

 tinyxml2
 

Macros

#define TIXML_SNPRINTF   snprintf
 
#define TIXML_VSNPRINTF   vsnprintf
 
#define TIXML_SSCANF   sscanf
 

Functions

static int TIXML_VSCPRINTF (const char *format, va_list va)
 
static FILEtinyxml2::callfopen (const char *filepath, const char *mode)
 

Variables

static const char LINE_FEED = (char)0x0a
 
static const char LF = LINE_FEED
 
static const char CARRIAGE_RETURN = (char)0x0d
 
static const char CR = CARRIAGE_RETURN
 
static const char SINGLE_QUOTE = '\''
 
static const char DOUBLE_QUOTE = '\"'
 
static const unsigned char TIXML_UTF_LEAD_0 = 0xefU
 
static const unsigned char TIXML_UTF_LEAD_1 = 0xbbU
 
static const unsigned char TIXML_UTF_LEAD_2 = 0xbfU
 
static const int tinyxml2::NUM_ENTITIES = 5
 
static const Entity tinyxml2::entities [NUM_ENTITIES]
 

Macro Definition Documentation

◆ TIXML_SNPRINTF

#define TIXML_SNPRINTF   snprintf

Definition at line 92 of file tinyxml2.cpp.

◆ TIXML_SSCANF

#define TIXML_SSCANF   sscanf

Definition at line 100 of file tinyxml2.cpp.

◆ TIXML_VSNPRINTF

#define TIXML_VSNPRINTF   vsnprintf

Definition at line 93 of file tinyxml2.cpp.

Function Documentation

◆ TIXML_VSCPRINTF()

static int TIXML_VSCPRINTF ( const char format,
va_list  va 
)
inlinestatic

Definition at line 94 of file tinyxml2.cpp.

95  {
96  int len = vsnprintf( 0, 0, format, va );
97  TIXMLASSERT( len >= 0 );
98  return len;
99  }
#define vsnprintf
Definition: tif_win32.c:406
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
GLenum GLsizei len
Definition: glext.h:6722
#define TIXMLASSERT(x)
Definition: tinyxml2.h:88

Referenced by tinyxml2::XMLPrinter::Print().

Variable Documentation

◆ CARRIAGE_RETURN

const char CARRIAGE_RETURN = (char)0x0d
static

Definition at line 106 of file tinyxml2.cpp.

◆ CR

const char CR = CARRIAGE_RETURN
static

Definition at line 107 of file tinyxml2.cpp.

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

◆ DOUBLE_QUOTE

const char DOUBLE_QUOTE = '\"'
static

Definition at line 109 of file tinyxml2.cpp.

◆ LF

const char LF = LINE_FEED
static

Definition at line 105 of file tinyxml2.cpp.

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

◆ LINE_FEED

const char LINE_FEED = (char)0x0a
static

Definition at line 104 of file tinyxml2.cpp.

◆ SINGLE_QUOTE

const char SINGLE_QUOTE = '\''
static

Definition at line 108 of file tinyxml2.cpp.

◆ TIXML_UTF_LEAD_0

const unsigned char TIXML_UTF_LEAD_0 = 0xefU
static

Definition at line 115 of file tinyxml2.cpp.

Referenced by tinyxml2::XMLPrinter::PushHeader(), and tinyxml2::XMLUtil::ReadBOM().

◆ TIXML_UTF_LEAD_1

const unsigned char TIXML_UTF_LEAD_1 = 0xbbU
static

Definition at line 116 of file tinyxml2.cpp.

Referenced by tinyxml2::XMLPrinter::PushHeader(), and tinyxml2::XMLUtil::ReadBOM().

◆ TIXML_UTF_LEAD_2

const unsigned char TIXML_UTF_LEAD_2 = 0xbfU
static

Definition at line 117 of file tinyxml2.cpp.

Referenced by tinyxml2::XMLPrinter::PushHeader(), and tinyxml2::XMLUtil::ReadBOM().