MCPcopy Create free account
hub / github.com/JayXon/Leanify / IntValue

Function IntValue

lib/tinyxml2/tinyxml2.h:1095–1099  ·  view source on GitHub ↗

IntValue interprets the attribute as an integer, and returns the value. If the value isn't an integer, 0 will be returned. There is no error checking; use QueryIntValue() if you need error checking. */

Source from the content-addressed store, hash-verified

1093 use QueryIntValue() if you need error checking.
1094 */
1095 int IntValue() const {
1096 int i=0;
1097 QueryIntValue( &i );
1098 return i;
1099 }
1100 /// Query as an unsigned integer. See IntValue()
1101 unsigned UnsignedValue() const {
1102 unsigned i=0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected