| 1147 | } |
| 1148 | |
| 1149 | void XMLNode::InsertChildPreamble( XMLNode* insertThis ) const |
| 1150 | { |
| 1151 | TIXMLASSERT( insertThis ); |
| 1152 | TIXMLASSERT( insertThis->_document == _document ); |
| 1153 | |
| 1154 | if (insertThis->_parent) { |
| 1155 | insertThis->_parent->Unlink( insertThis ); |
| 1156 | } |
| 1157 | else { |
| 1158 | insertThis->_document->MarkInUse(insertThis); |
| 1159 | insertThis->_memPool->SetTracked(); |
| 1160 | } |
| 1161 | } |
| 1162 | |
| 1163 | const XMLElement* XMLNode::ToElementWithName( const char* name ) const |
| 1164 | { |
nothing calls this directly
no test coverage detected