MCPcopy Create free account
hub / github.com/PolygonTek/BlueshiftEngine / Attribute

Method Attribute

Source/ThirdParty/tinyxml2/tinyxml2.cpp:1443–1453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1441
1442
1443const char* XMLElement::Attribute( const char* name, const char* value ) const
1444{
1445 const XMLAttribute* a = FindAttribute( name );
1446 if ( !a ) {
1447 return 0;
1448 }
1449 if ( !value || XMLUtil::StringEqual( a->Value(), value )) {
1450 return a->Value();
1451 }
1452 return 0;
1453}
1454
1455
1456const char* XMLElement::GetText() const

Callers

nothing calls this directly

Calls 2

FindAttributeFunction · 0.85
ValueMethod · 0.45

Tested by

no test coverage detected