| 1105 | } |
| 1106 | |
| 1107 | void XMLNode::InsertChildPreamble( XMLNode* insertThis ) const |
| 1108 | { |
| 1109 | TIXMLASSERT( insertThis ); |
| 1110 | TIXMLASSERT( insertThis->_document == _document ); |
| 1111 | |
| 1112 | if (insertThis->_parent) { |
| 1113 | insertThis->_parent->Unlink( insertThis ); |
| 1114 | } |
| 1115 | else { |
| 1116 | insertThis->_document->MarkInUse(insertThis); |
| 1117 | insertThis->_memPool->SetTracked(); |
| 1118 | } |
| 1119 | } |
| 1120 | |
| 1121 | const XMLElement* XMLNode::ToElementWithName( const char* name ) const |
| 1122 | { |
nothing calls this directly
no test coverage detected