antioch-0.4.0
Classes | Macros
tinyxml2_imp.h File Reference
#include "antioch/tinyxml2.h"
#include <new>
#include <cstddef>

Go to the source code of this file.

Classes

struct  Entity
 

Macros

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

Macro Definition Documentation

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

Definition at line 63 of file tinyxml2_imp.h.

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 56 of file tinyxml2_imp.h.

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


Generated on Thu Jul 7 2016 11:09:47 for antioch-0.4.0 by  doxygen 1.8.8