MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / InsertChildPreamble

Method InsertChildPreamble

examples/ThirdPartyLibs/tinyxml2/tinyxml2.cpp:1185–1199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1183}
1184
1185void XMLNode::InsertChildPreamble(XMLNode* insertThis) const
1186{
1187 TIXMLASSERT(insertThis);
1188 TIXMLASSERT(insertThis->_document == _document);
1189
1190 if (insertThis->_parent)
1191 {
1192 insertThis->_parent->Unlink(insertThis);
1193 }
1194 else
1195 {
1196 insertThis->_document->MarkInUse(insertThis);
1197 insertThis->_memPool->SetTracked();
1198 }
1199}
1200
1201const XMLElement* XMLNode::ToElementWithName(const char* name) const
1202{

Callers

nothing calls this directly

Calls 3

UnlinkMethod · 0.80
MarkInUseMethod · 0.80
SetTrackedMethod · 0.80

Tested by

no test coverage detected