void XmlElement::SetDoubleAttribute( const std::string& name, double val ) { XmlAttribute* attrib = attributeSet.FindOrCreate( name ); if ( attrib ) { attrib->SetDoubleValue( val ); } }
/** * @brief * Sets an attribute of name to a given value */ void XmlElement::SetDoubleAttribute(const String &sName, double dValue) { XmlAttribute *pAttribute = m_cAttributeSet.FindOrCreate(sName); if (pAttribute) pAttribute->SetDoubleValue(dValue); }