MCPcopy Create free account
hub / github.com/OpenZWave/open-zwave / Remove

Method Remove

cpp/tinyxml/tinyxml.cpp:1534–1550  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1532}
1533
1534void TiXmlAttributeSet::Remove( TiXmlAttribute* removeMe )
1535{
1536 TiXmlAttribute* node;
1537
1538 for( node = sentinel.next; node != &sentinel; node = node->next )
1539 {
1540 if ( node == removeMe )
1541 {
1542 node->prev->next = node->next;
1543 node->next->prev = node->prev;
1544 node->next = 0;
1545 node->prev = 0;
1546 return;
1547 }
1548 }
1549 assert( 0 ); // we tried to remove a non-linked attribute.
1550}
1551
1552
1553#ifdef TIXML_USE_STL

Callers 2

RemoveAttributeMethod · 0.45
ClearThisMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected