MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / SetAttribute

Method SetAttribute

engine/source/persistence/tinyXML/tinyxml.cpp:724–730  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

722
723
724void TiXmlElement::SetAttribute( const char * name, int val )
725{
726 TiXmlAttribute* attrib = attributeSet.FindOrCreate( name );
727 if ( attrib ) {
728 attrib->SetIntValue( val );
729 }
730}
731
732
733#ifdef TIXML_USE_STL

Calls 3

FindOrCreateMethod · 0.80
SetIntValueMethod · 0.80
SetValueMethod · 0.45

Tested by

no test coverage detected