| 1201 | } |
| 1202 | |
| 1203 | void XMLNode::InsertChildPreamble( XMLNode* insertThis ) const |
| 1204 | { |
| 1205 | TIXMLASSERT( insertThis ); |
| 1206 | TIXMLASSERT( insertThis->_document == _document ); |
| 1207 | |
| 1208 | if (insertThis->_parent) { |
| 1209 | insertThis->_parent->Unlink( insertThis ); |
| 1210 | } |
| 1211 | else { |
| 1212 | insertThis->_document->MarkInUse(insertThis); |
| 1213 | insertThis->_memPool->SetTracked(); |
| 1214 | } |
| 1215 | } |
| 1216 | |
| 1217 | const XMLElement* XMLNode::ToElementWithName( const char* name ) const |
| 1218 | { |
nothing calls this directly
no test coverage detected