MCPcopy Create free account
hub / github.com/SOUI2/soui / Remove

Method Remove

tools/src/uiresbuilder/tinyxml/tinyxml.cpp:1547–1563  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1545}
1546
1547void TiXmlAttributeSet::Remove( TiXmlAttribute* removeMe )
1548{
1549 TiXmlAttribute* node;
1550
1551 for( node = sentinel.next; node != &sentinel; node = node->next )
1552 {
1553 if ( node == removeMe )
1554 {
1555 node->prev->next = node->next;
1556 node->next->prev = node->prev;
1557 node->next = 0;
1558 node->prev = 0;
1559 return;
1560 }
1561 }
1562 assert( 0 ); // we tried to remove a non-linked attribute.
1563}
1564
1565
1566#ifdef TIXML_USE_STL

Callers 2

RemoveAttributeMethod · 0.45
ClearThisMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected