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

Method Add

cpp/tinyxml/tinyxml.cpp:1519–1532  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1517
1518
1519void TiXmlAttributeSet::Add( TiXmlAttribute* addMe )
1520{
1521 #ifdef TIXML_USE_STL
1522 assert( !Find( TIXML_STRING( addMe->Name() ) ) ); // Shouldn't be multiply adding to the set.
1523 #else
1524 assert( !Find( addMe->Name() ) ); // Shouldn't be multiply adding to the set.
1525 #endif
1526
1527 addMe->next = &sentinel;
1528 addMe->prev = sentinel.prev;
1529
1530 sentinel.prev->next = addMe;
1531 sentinel.prev = addMe;
1532}
1533
1534void TiXmlAttributeSet::Remove( TiXmlAttribute* removeMe )
1535{

Callers 2

SetAttributeMethod · 0.80
ParseMethod · 0.80

Calls 1

NameMethod · 0.80

Tested by

no test coverage detected