MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / MarkInUse

Method MarkInUse

examples/ThirdPartyLibs/tinyxml2/tinyxml2.cpp:2116–2129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2114}
2115
2116void XMLDocument::MarkInUse(XMLNode* node)
2117{
2118 TIXMLASSERT(node);
2119 TIXMLASSERT(node->_parent == 0);
2120
2121 for (int i = 0; i < _unlinked.Size(); ++i)
2122 {
2123 if (node == _unlinked[i])
2124 {
2125 _unlinked.SwapRemove(i);
2126 break;
2127 }
2128 }
2129}
2130
2131void XMLDocument::Clear()
2132{

Callers 2

DeleteNodeMethod · 0.80
InsertChildPreambleMethod · 0.80

Calls 2

SwapRemoveMethod · 0.80
SizeMethod · 0.45

Tested by

no test coverage detected