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

Method InsertChildPreamble

Dependencies/tinyxml2/src/tinyxml2.cpp:1114–1126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1112}
1113
1114void XMLNode::InsertChildPreamble( XMLNode* insertThis ) const
1115{
1116 TIXMLASSERT( insertThis );
1117 TIXMLASSERT( insertThis->_document == _document );
1118
1119 if (insertThis->_parent) {
1120 insertThis->_parent->Unlink( insertThis );
1121 }
1122 else {
1123 insertThis->_document->MarkInUse(insertThis);
1124 insertThis->_memPool->SetTracked();
1125 }
1126}
1127
1128const XMLElement* XMLNode::ToElementWithName( const char* name ) const
1129{

Callers

nothing calls this directly

Calls 3

MarkInUseMethod · 0.80
SetTrackedMethod · 0.80
UnlinkMethod · 0.45

Tested by

no test coverage detected