MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / CreateAttribute

Method CreateAttribute

Dependencies/tinyxml2/src/tinyxml2.cpp:1881–1889  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1879}
1880
1881XMLAttribute* 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>

Callers

nothing calls this directly

Calls 3

SetTrackedMethod · 0.80
ItemSizeMethod · 0.45
AllocMethod · 0.45

Tested by

no test coverage detected