MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / InsertChildPreamble

Method InsertChildPreamble

native/thirdpart/tinyxml2/tinyxml2.cpp:1171–1183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1169}
1170
1171void XMLNode::InsertChildPreamble( XMLNode* insertThis ) const
1172{
1173 TIXMLASSERT( insertThis );
1174 TIXMLASSERT( insertThis->_document == _document );
1175
1176 if (insertThis->_parent) {
1177 insertThis->_parent->Unlink( insertThis );
1178 }
1179 else {
1180 insertThis->_document->MarkInUse(insertThis);
1181 insertThis->_memPool->SetTracked();
1182 }
1183}
1184
1185const XMLElement* XMLNode::ToElementWithName( const char* name ) const
1186{

Callers

nothing calls this directly

Calls 3

UnlinkMethod · 0.80
MarkInUseMethod · 0.80
SetTrackedMethod · 0.80

Tested by

no test coverage detected