MIDAS  0.75
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
Classes | Namespaces | Macros | Variables
tinyxml2.cpp File Reference
#include "tinyxml2.h"
#include <new>
#include <cstddef>

Go to the source code of this file.

Classes

struct  tinyxml2::Entity
 

Namespaces

 tinyxml2
 

Macros

#define DELETE_NODE(node)
 
#define DELETE_ATTRIBUTE(attrib)
 

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

#define DELETE_ATTRIBUTE (   attrib)
Value:
{ \
if ( attrib ) { \
MemPool* pool = attrib->_memPool; \
attrib->~XMLAttribute(); \
pool->Free( attrib ); \
} \
}

Definition at line 56 of file tinyxml2.cpp.

Referenced by tinyxml2::XMLElement::DeleteAttribute(), tinyxml2::XMLElement::ParseAttributes(), and tinyxml2::XMLElement::~XMLElement().

#define DELETE_NODE (   node)
Value:
{ \
if ( node ) { \
MemPool* pool = node->_memPool; \
node->~XMLNode(); \
pool->Free( node ); \
} \
}

Definition at line 49 of file tinyxml2.cpp.

Referenced by tinyxml2::XMLNode::DeleteChild(), tinyxml2::XMLNode::DeleteChildren(), and tinyxml2::XMLNode::ParseDeep().

Variable Documentation

const char CARRIAGE_RETURN = (char)0x0d
static

Definition at line 35 of file tinyxml2.cpp.

const char CR = CARRIAGE_RETURN
static

Definition at line 36 of file tinyxml2.cpp.

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

const char DOUBLE_QUOTE = '\"'
static

Definition at line 38 of file tinyxml2.cpp.

const char LF = LINE_FEED
static

Definition at line 34 of file tinyxml2.cpp.

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

const char LINE_FEED = (char)0x0a
static

Definition at line 33 of file tinyxml2.cpp.

const char SINGLE_QUOTE = '\''
static

Definition at line 37 of file tinyxml2.cpp.

const unsigned char TIXML_UTF_LEAD_0 = 0xefU
static

Definition at line 44 of file tinyxml2.cpp.

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

const unsigned char TIXML_UTF_LEAD_1 = 0xbbU
static

Definition at line 45 of file tinyxml2.cpp.

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

const unsigned char TIXML_UTF_LEAD_2 = 0xbfU
static

Definition at line 46 of file tinyxml2.cpp.

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