MCPcopy Create free account
hub / github.com/crossuo/crossuo / Attribute

Method Attribute

external/tinyxml2.cpp:1582–1592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1580
1581
1582const char* XMLElement::Attribute( const char* name, const char* value ) const
1583{
1584 const XMLAttribute* a = FindAttribute( name );
1585 if ( !a ) {
1586 return 0;
1587 }
1588 if ( !value || XMLUtil::StringEqual( a->Value(), value )) {
1589 return a->Value();
1590 }
1591 return 0;
1592}
1593
1594int XMLElement::IntAttribute(const char* name, int defaultValue) const
1595{

Callers 6

xuo_release_loadFunction · 0.80
mft_entry_loadFunction · 0.80
mft_packs_loadFunction · 0.80
mft_package_loadFunction · 0.80
mft_stage_loadFunction · 0.80
mft_product_loadFunction · 0.80

Calls 2

StringEqualFunction · 0.85
ValueMethod · 0.45

Tested by

no test coverage detected