company logo

IniFile :: createConfiguration - Create configuration

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.

Notes:

The function is not supported for ini-files.

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 )
  • sName - Name