| 1137 | } |
| 1138 | |
| 1139 | void XMLNode::InsertChildPreamble( XMLNode* insertThis ) const |
| 1140 | { |
| 1141 | TIXMLASSERT( insertThis ); |
| 1142 | TIXMLASSERT( insertThis->_document == _document ); |
| 1143 | |
| 1144 | if (insertThis->_parent) { |
| 1145 | insertThis->_parent->Unlink( insertThis ); |
| 1146 | } |
| 1147 | else { |
| 1148 | insertThis->_document->MarkInUse(insertThis); |
| 1149 | insertThis->_memPool->SetTracked(); |
| 1150 | } |
| 1151 | } |
| 1152 | |
| 1153 | const XMLElement* XMLNode::ToElementWithName( const char* name ) const |
| 1154 | { |
nothing calls this directly
no test coverage detected