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

Method InsertChildPreamble

Source/ThirdParty/tinyxml2/tinyxml2.cpp:1107–1119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1105}
1106
1107void XMLNode::InsertChildPreamble( XMLNode* insertThis ) const
1108{
1109 TIXMLASSERT( insertThis );
1110 TIXMLASSERT( insertThis->_document == _document );
1111
1112 if (insertThis->_parent) {
1113 insertThis->_parent->Unlink( insertThis );
1114 }
1115 else {
1116 insertThis->_document->MarkInUse(insertThis);
1117 insertThis->_memPool->SetTracked();
1118 }
1119}
1120
1121const XMLElement* XMLNode::ToElementWithName( const char* name ) const
1122{

Callers

nothing calls this directly

Calls 3

UnlinkMethod · 0.80
MarkInUseMethod · 0.80
SetTrackedMethod · 0.80

Tested by

no test coverage detected