MCPcopy Create free account
hub / github.com/ajkhoury/ReClassEx / CreateAttribute

Method CreateAttribute

ReClass/tinyxml2.cpp:1877–1885  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1875}
1876
1877XMLAttribute* 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>

Callers

nothing calls this directly

Calls 3

ItemSizeMethod · 0.80
AllocMethod · 0.80
SetTrackedMethod · 0.80

Tested by

no test coverage detected