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

Method Add

tools/src/uiresbuilder/tinyxml/tinyxml.cpp:1532–1545  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1530
1531
1532void TiXmlAttributeSet::Add( TiXmlAttribute* addMe )
1533{
1534 #ifdef TIXML_USE_STL
1535 assert( !Find( TIXML_STRING( addMe->Name() ) ) ); // Shouldn't be multiply adding to the set.
1536 #else
1537 assert( !Find( addMe->Name() ) ); // Shouldn't be multiply adding to the set.
1538 #endif
1539
1540 addMe->next = &sentinel;
1541 addMe->prev = sentinel.prev;
1542
1543 sentinel.prev->next = addMe;
1544 sentinel.prev = addMe;
1545}
1546
1547void TiXmlAttributeSet::Remove( TiXmlAttribute* removeMe )
1548{

Callers 1

ParseMethod · 0.45

Calls 1

NameMethod · 0.45

Tested by

no test coverage detected