company logo

IniFile :: createConfiguration - Create configuration

The function is used for multiple configuration files for creating a new configuration. Multiple configuration files are supported for XML files, only.

Return value:  Success ( bool  )

The value is true when the function was executed successfully. Otherwise the value is set to false.

Implementation details

bool IniFile  :: createConfiguration ( odaba::String &sName )

The function creates a new configuration with the name passed in sName in an XML configuration file. When the XML file is empty or does not yet contain an OConfiguration element, the configuration element is stored as root element. In case of multiple configurations, the XML file may contain several root elements.

  • sName - Name