| 2026 | } |
| 2027 | |
| 2028 | XMLAttribute* XMLElement::CreateAttribute() |
| 2029 | { |
| 2030 | TIXMLASSERT( sizeof( XMLAttribute ) == _document->_attributePool.ItemSize() ); |
| 2031 | XMLAttribute* attrib = new (_document->_attributePool.Alloc() ) XMLAttribute(); |
| 2032 | TIXMLASSERT( attrib ); |
| 2033 | attrib->_memPool = &_document->_attributePool; |
| 2034 | attrib->_memPool->SetTracked(); |
| 2035 | return attrib; |
| 2036 | } |
| 2037 | |
| 2038 | |
| 2039 | XMLElement* XMLElement::InsertNewChildElement(const char* name) |
nothing calls this directly
no test coverage detected