| 1547 | |
| 1548 | #ifdef TIXML_USE_STL |
| 1549 | TiXmlAttribute* TiXmlAttributeSet::Find( const std::string& name ) const |
| 1550 | { |
| 1551 | for( TiXmlAttribute* node = sentinel.next; node != &sentinel; node = node->next ) |
| 1552 | { |
| 1553 | if ( node->name == name ) |
| 1554 | return node; |
| 1555 | } |
| 1556 | return 0; |
| 1557 | } |
| 1558 | |
| 1559 | TiXmlAttribute* TiXmlAttributeSet::FindOrCreate( const std::string& _name ) |
| 1560 | { |
no test coverage detected