| 1183 | } |
| 1184 | |
| 1185 | void 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 | |
| 1201 | const XMLElement* XMLNode::ToElementWithName(const char* name) const |
| 1202 | { |
nothing calls this directly
no test coverage detected