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

Method Remove

ogsr_engine/xrCore/XML_Parser/tinyxml.cpp:1441–1457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1439}
1440
1441void TiXmlAttributeSet::Remove(TiXmlAttribute* removeMe)
1442{
1443 TiXmlAttribute* node;
1444
1445 for (node = sentinel.next; node != &sentinel; node = node->next)
1446 {
1447 if (node == removeMe)
1448 {
1449 node->prev->next = node->next;
1450 node->next->prev = node->prev;
1451 node->next = 0;
1452 node->prev = 0;
1453 return;
1454 }
1455 }
1456 assert(0); // we tried to remove a non-linked attribute.
1457}
1458
1459#ifdef TIXML_USE_STL
1460const TiXmlAttribute* TiXmlAttributeSet::Find(const xr_string& name) const

Callers 2

RemoveAttributeMethod · 0.45
ClearThisMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected