| 1518 | |
| 1519 | #ifdef TIXML_USE_STL |
| 1520 | TiXmlAttribute* TiXmlAttributeSet::Find( const std::string& name ) const |
| 1521 | { |
| 1522 | for( TiXmlAttribute* node = sentinel.next; node != &sentinel; node = node->next ) |
| 1523 | { |
| 1524 | if ( node->name == name ) |
| 1525 | return node; |
| 1526 | } |
| 1527 | return 0; |
| 1528 | } |
| 1529 | |
| 1530 | TiXmlAttribute* TiXmlAttributeSet::FindOrCreate( const std::string& _name ) |
| 1531 | { |
no test coverage detected