MCPcopy Create free account
hub / github.com/DFHack/dfhack / Find

Method Find

depends/tinyxml/tinyxml.cpp:1549–1557  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1547
1548#ifdef TIXML_USE_STL
1549TiXmlAttribute* 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
1559TiXmlAttribute* TiXmlAttributeSet::FindOrCreate( const std::string& _name )
1560{

Callers 8

RemoveAttributeMethod · 0.45
AttributeMethod · 0.45
QueryIntAttributeMethod · 0.45
QueryBoolAttributeMethod · 0.45
QueryDoubleAttributeMethod · 0.45
QueryValueAttributeMethod · 0.45
ParseMethod · 0.45

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected