company logo

IniFile :: write - Write ini-file

The function writes the current content of the ini-file to the file.

Notes:

The function does not yet work for xml configuration 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  :: write ( odaba::String &sFilePath )

The function saves the content of the ini-file to the path passed in sFilePath. The function dies not change the default file path. In order to change the default path, fileName() might be called.

  • sFilePath - Complete file path