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

Method MarkInUse

Dependencies/tinyxml2/src/tinyxml2.cpp:2031–2042  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2029
2030
2031void XMLDocument::MarkInUse(XMLNode* node)
2032{
2033 TIXMLASSERT(node);
2034 TIXMLASSERT(node->_parent == 0);
2035
2036 for (int i = 0; i < _unlinked.Size(); ++i) {
2037 if (node == _unlinked[i]) {
2038 _unlinked.SwapRemove(i);
2039 break;
2040 }
2041 }
2042}
2043
2044void XMLDocument::Clear()
2045{

Callers 2

DeleteNodeMethod · 0.80
InsertChildPreambleMethod · 0.80

Calls 2

SizeMethod · 0.80
SwapRemoveMethod · 0.80

Tested by

no test coverage detected