MCPcopy Create free account
hub / github.com/OpenZWave/open-zwave / SetAttribute

Method SetAttribute

cpp/tinyxml/tinyxml.cpp:685–694  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

683
684
685void TiXmlElement::SetAttribute( const char * name, int val )
686{
687 char buf[64];
688 #if defined(TIXML_SNPRINTF)
689 TIXML_SNPRINTF( buf, sizeof(buf), "%d", val );
690 #else
691 sprintf( buf, "%d", val );
692 #endif
693 SetAttribute( name, buf );
694}
695
696
697#ifdef TIXML_USE_STL

Callers 15

CopyToMethod · 0.80
WriteXMLMethod · 0.80
WriteCacheMethod · 0.80
SaveButtonsMethod · 0.80
WriteXMLMethod · 0.80
WriteXMLMethod · 0.80
WriteMetaDataXMLMethod · 0.80
WriteXMLMethod · 0.80
WriteXMLMethod · 0.80
WriteXMLMethod · 0.80
WriteXMLMethod · 0.80
WriteXMLMethod · 0.80

Calls 4

AddMethod · 0.80
SetErrorMethod · 0.80
FindMethod · 0.45
SetValueMethod · 0.45

Tested by

no test coverage detected