| 1994 | } |
| 1995 | |
| 1996 | XMLAttribute* XMLElement::CreateAttribute() |
| 1997 | { |
| 1998 | TIXMLASSERT( sizeof( XMLAttribute ) == _document->_attributePool.ItemSize() ); |
| 1999 | XMLAttribute* attrib = new (_document->_attributePool.Alloc() ) XMLAttribute(); |
| 2000 | TIXMLASSERT( attrib ); |
| 2001 | attrib->_memPool = &_document->_attributePool; |
| 2002 | attrib->_memPool->SetTracked(); |
| 2003 | return attrib; |
| 2004 | } |
| 2005 | |
| 2006 | |
| 2007 | XMLElement* XMLElement::InsertNewChildElement(const char* name) |
nothing calls this directly
no test coverage detected