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

Function IntAttribute

sourcecommon/tinyxml2.h:1182–1186  ·  view source on GitHub ↗

Given an attribute name, IntAttribute() returns the value of the attribute interpreted as an integer. 0 will be returned if there is an error. For a method with error checking, see QueryIntAttribute() */

Source from the content-addressed store, hash-verified

1180 checking, see QueryIntAttribute()
1181 */
1182 int IntAttribute( const char* name ) const {
1183 int i=0;
1184 QueryIntAttribute( name, &i );
1185 return i;
1186 }
1187 /// See IntAttribute()
1188 unsigned UnsignedAttribute( const char* name ) const {
1189 unsigned i=0;

Callers

nothing calls this directly

Calls 1

QueryIntAttributeFunction · 0.85

Tested by

no test coverage detected