MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / Clear

Method Clear

Libraries/tinyxml/tinyxml.cpp:186–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184
185
186void TiXmlNode::Clear()
187{
188 TiXmlNode* node = firstChild;
189 TiXmlNode* temp = 0;
190
191 while ( node )
192 {
193 temp = node;
194 node = node->next;
195 delete temp;
196 }
197
198 firstChild = 0;
199 lastChild = 0;
200}
201
202
203TiXmlNode* TiXmlNode::LinkEndChild( TiXmlNode* node )

Callers 4

LoadFileMethod · 0.45
mainFunction · 0.45
ParseMethod · 0.45
SetErrorMethod · 0.45

Calls

no outgoing calls

Tested by 1

mainFunction · 0.36