| 1875 | } |
| 1876 | |
| 1877 | XMLAttribute* XMLElement::CreateAttribute() |
| 1878 | { |
| 1879 | TIXMLASSERT( sizeof( XMLAttribute ) == _document->_attributePool.ItemSize() ); |
| 1880 | XMLAttribute* attrib = new (_document->_attributePool.Alloc() ) XMLAttribute(); |
| 1881 | TIXMLASSERT( attrib ); |
| 1882 | attrib->_memPool = &_document->_attributePool; |
| 1883 | attrib->_memPool->SetTracked(); |
| 1884 | return attrib; |
| 1885 | } |
| 1886 | |
| 1887 | // |
| 1888 | // <ele></ele> |
nothing calls this directly
no test coverage detected