MCPcopy Create free account
hub / github.com/NanoMichael/MicroTeX / FindAttribute

Method FindAttribute

src/xml/tinyxml2.cpp:1195–1202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1193
1194
1195const XMLAttribute* XMLElement::FindAttribute( const char* name ) const {
1196 for( XMLAttribute* a = _rootAttribute; a; a = a->_next ) {
1197 if ( XMLUtil::StringEqual( a->Name(), name ) ) {
1198 return a;
1199 }
1200 }
1201 return 0;
1202}
1203
1204
1205const char* XMLElement::Attribute( const char* name, const char* value ) const {

Callers 2

FindAttributeFunction · 0.80
existsMethod · 0.80

Calls 1

NameMethod · 0.80

Tested by

no test coverage detected