IniFile :: IniFile - Constructor
The constructor provides a reference to an ini-file (option settings) for the application.
Implementation overview
- Copy constructor
IniFile :: IniFile ( cIniFile ) - Dummy constructor
IniFile :: IniFile (  ) - Create form file
IniFile :: IniFile ( sFilePath )
Implementation details
-
Copy constructor
IniFile  :: IniFile ( odaba::utils::IniFile &cIniFile )
The constructor creates a handle copy for the configuration file object passed in cIniFile.
- cIniFile - Reference to configuration or ini-file
to list
-
Dummy constructor
IniFile  :: IniFile (  )
The function creates an empty ini-file handle (no ini-file object is referenced).
to list
-
Create form file
IniFile  :: IniFile ( odaba::String &sFilePath )
The function creates an ini-file object and initializes the class from the file passed in sFilePath. Whether a classical ini-file or an XML configuration file is processed depends on the first characters in the text file. When the file starts with <?xml, an XML configuration file is assumed, otherwise a classical ini-file.
Notes:XML configuration files support multiple configurations.
- sFilePath - Complete file path
to list