MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / CreateAttribute

Method CreateAttribute

native/thirdpart/tinyxml2/tinyxml2.cpp:1996–2004  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1994}
1995
1996XMLAttribute* 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
2007XMLElement* XMLElement::InsertNewChildElement(const char* name)

Callers

nothing calls this directly

Calls 3

ItemSizeMethod · 0.80
AllocMethod · 0.80
SetTrackedMethod · 0.80

Tested by

no test coverage detected