MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / Attribute

Method Attribute

sourcecommon/tinyxml2.cpp:1245–1255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1243
1244
1245const char* XMLElement::Attribute( const char* name, const char* value ) const
1246{
1247 const XMLAttribute* a = FindAttribute( name );
1248 if ( !a ) {
1249 return 0;
1250 }
1251 if ( !value || XMLUtil::StringEqual( a->Value(), value )) {
1252 return a->Value();
1253 }
1254 return 0;
1255}
1256
1257
1258const char* XMLElement::GetText() const

Callers

nothing calls this directly

Calls 1

ValueMethod · 0.80

Tested by

no test coverage detected