MCPcopy Create free account
hub / github.com/DFHack/dfhack / SetDoubleAttribute

Method SetDoubleAttribute

depends/tinyxml/tinyxml.cpp:760–766  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

758
759
760void TiXmlElement::SetDoubleAttribute( const char * name, double val )
761{
762 TiXmlAttribute* attrib = attributeSet.FindOrCreate( name );
763 if ( attrib ) {
764 attrib->SetDoubleValue( val );
765 }
766}
767
768
769#ifdef TIXML_USE_STL

Callers

nothing calls this directly

Calls 2

FindOrCreateMethod · 0.80
SetDoubleValueMethod · 0.80

Tested by

no test coverage detected