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