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

Method MarkInUse

Source/ThirdParty/tinyxml2/tinyxml2.cpp:2026–2037  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

DeleteNodeMethod · 0.80
InsertChildPreambleMethod · 0.80

Calls 2

SwapRemoveMethod · 0.80
SizeMethod · 0.45

Tested by

no test coverage detected