MCPcopy Create free account
hub / github.com/MediaArea/MediaInfoLib / DeleteNode

Method DeleteNode

Source/ThirdParty/tinyxml2/tinyxml2.cpp:1092–1105  ·  view source on GitHub ↗

static*/

Source from the content-addressed store, hash-verified

1090}
1091
1092/*static*/ void XMLNode::DeleteNode( XMLNode* node )
1093{
1094 if ( node == 0 ) {
1095 return;
1096 }
1097 TIXMLASSERT(node->_document);
1098 if (!node->ToDocument()) {
1099 node->_document->MarkInUse(node);
1100 }
1101
1102 MemPool* pool = node->_memPool;
1103 node->~XMLNode();
1104 pool->Free( node );
1105}
1106
1107void XMLNode::InsertChildPreamble( XMLNode* insertThis ) const
1108{

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected