MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / RemoveAttribute

Method RemoveAttribute

ogsr_engine/xrCore/XML_Parser/tinyxml.cpp:389–402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

387}
388
389void TiXmlElement::RemoveAttribute(const char* name)
390{
391#ifdef TIXML_USE_STL
392 TIXML_STRING str(name);
393 TiXmlAttribute* node = attributeSet.Find(str);
394#else
395 TiXmlAttribute* node = attributeSet.Find(name);
396#endif
397 if (node)
398 {
399 attributeSet.Remove(node);
400 xr_delete(node);
401 }
402}
403
404const TiXmlElement* TiXmlNode::FirstChildElement() const
405{

Callers

nothing calls this directly

Calls 3

xr_deleteFunction · 0.85
FindMethod · 0.45
RemoveMethod · 0.45

Tested by

no test coverage detected