| 1112 | } |
| 1113 | |
| 1114 | void XMLNode::InsertChildPreamble( XMLNode* insertThis ) const |
| 1115 | { |
| 1116 | TIXMLASSERT( insertThis ); |
| 1117 | TIXMLASSERT( insertThis->_document == _document ); |
| 1118 | |
| 1119 | if (insertThis->_parent) { |
| 1120 | insertThis->_parent->Unlink( insertThis ); |
| 1121 | } |
| 1122 | else { |
| 1123 | insertThis->_document->MarkInUse(insertThis); |
| 1124 | insertThis->_memPool->SetTracked(); |
| 1125 | } |
| 1126 | } |
| 1127 | |
| 1128 | const XMLElement* XMLNode::ToElementWithName( const char* name ) const |
| 1129 | { |
nothing calls this directly
no test coverage detected