| 1557 | } |
| 1558 | |
| 1559 | TiXmlAttribute* TiXmlAttributeSet::FindOrCreate( const std::string& _name ) |
| 1560 | { |
| 1561 | TiXmlAttribute* attrib = Find( _name ); |
| 1562 | if ( !attrib ) { |
| 1563 | attrib = new TiXmlAttribute(); |
| 1564 | Add( attrib ); |
| 1565 | attrib->SetName( _name ); |
| 1566 | } |
| 1567 | return attrib; |
| 1568 | } |
| 1569 | #endif |
| 1570 | |
| 1571 |
no test coverage detected