| 1169 | } |
| 1170 | |
| 1171 | void XMLNode::InsertChildPreamble( XMLNode* insertThis ) const |
| 1172 | { |
| 1173 | TIXMLASSERT( insertThis ); |
| 1174 | TIXMLASSERT( insertThis->_document == _document ); |
| 1175 | |
| 1176 | if (insertThis->_parent) { |
| 1177 | insertThis->_parent->Unlink( insertThis ); |
| 1178 | } |
| 1179 | else { |
| 1180 | insertThis->_document->MarkInUse(insertThis); |
| 1181 | insertThis->_memPool->SetTracked(); |
| 1182 | } |
| 1183 | } |
| 1184 | |
| 1185 | const XMLElement* XMLNode::ToElementWithName( const char* name ) const |
| 1186 | { |
nothing calls this directly
no test coverage detected