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