MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / DeleteNode

Method DeleteNode

Dependencies/tinyxml2/src/tinyxml2.cpp:1099–1112  ·  view source on GitHub ↗

static*/

Source from the content-addressed store, hash-verified

1097}
1098
1099/*static*/ void XMLNode::DeleteNode( XMLNode* node )
1100{
1101 if ( node == 0 ) {
1102 return;
1103 }
1104 TIXMLASSERT(node->_document);
1105 if (!node->ToDocument()) {
1106 node->_document->MarkInUse(node);
1107 }
1108
1109 MemPool* pool = node->_memPool;
1110 node->~XMLNode();
1111 pool->Free( node );
1112}
1113
1114void XMLNode::InsertChildPreamble( XMLNode* insertThis ) const
1115{

Callers

nothing calls this directly

Calls 5

MarkInUseMethod · 0.80
~XMLNodeMethod · 0.80
DeleteChildMethod · 0.80
SetTrackedMethod · 0.80
FreeMethod · 0.45

Tested by

no test coverage detected