MCPcopy Create free account
hub / github.com/crossuo/crossuo / InsertChildPreamble

Method InsertChildPreamble

external/tinyxml2.cpp:1149–1161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1147}
1148
1149void XMLNode::InsertChildPreamble( XMLNode* insertThis ) const
1150{
1151 TIXMLASSERT( insertThis );
1152 TIXMLASSERT( insertThis->_document == _document );
1153
1154 if (insertThis->_parent) {
1155 insertThis->_parent->Unlink( insertThis );
1156 }
1157 else {
1158 insertThis->_document->MarkInUse(insertThis);
1159 insertThis->_memPool->SetTracked();
1160 }
1161}
1162
1163const XMLElement* XMLNode::ToElementWithName( const char* name ) const
1164{

Callers

nothing calls this directly

Calls 3

MarkInUseMethod · 0.80
SetTrackedMethod · 0.80
UnlinkMethod · 0.45

Tested by

no test coverage detected