MCPcopy Create free account
hub / github.com/Norbyte/bg3se / QueryAttribute

Function QueryAttribute

CoreLib/tinyxml2.h:1432–1434  ·  view source on GitHub ↗

Given an attribute name, QueryAttribute() returns XML_SUCCESS, XML_WRONG_ATTRIBUTE_TYPE if the conversion can't be performed, or XML_NO_ATTRIBUTE if the attribute doesn't exist. It is overloaded for the primitive types, and is a generally more convenient replacement of QueryIntAttribute() and related functions. If successful, the result of the conve

Source from the content-addressed store, hash-verified

1430 @endverbatim
1431 */
1432 XMLError QueryAttribute( const char* name, int* value ) const {
1433 return QueryIntAttribute( name, value );
1434 }
1435
1436 XMLError QueryAttribute( const char* name, unsigned int* value ) const {
1437 return QueryUnsignedAttribute( name, value );

Callers

nothing calls this directly

Calls 8

QueryIntAttributeFunction · 0.70
QueryUnsignedAttributeFunction · 0.70
QueryInt64AttributeFunction · 0.70
QueryUnsigned64AttributeFunction · 0.70
QueryBoolAttributeFunction · 0.70
QueryDoubleAttributeFunction · 0.70
QueryFloatAttributeFunction · 0.70
QueryStringAttributeFunction · 0.70

Tested by

no test coverage detected