MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / SetIntValue

Method SetIntValue

Libraries/tinyxml/tinyxml.cpp:1267–1276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1265}
1266
1267void TiXmlAttribute::SetIntValue( int _value )
1268{
1269 char buf [64];
1270 #if defined(TIXML_SNPRINTF)
1271 TIXML_SNPRINTF(buf, sizeof(buf), "%d", _value);
1272 #else
1273 sprintf (buf, "%d", _value);
1274 #endif
1275 SetValue (buf);
1276}
1277
1278void TiXmlAttribute::SetDoubleValue( double _value )
1279{

Callers 1

SetAttributeMethod · 0.80

Calls 2

TIXML_SNPRINTFFunction · 0.85
SetValueFunction · 0.85

Tested by

no test coverage detected