company logo

Option :: iniFilePath - Ini or configuration file location

The property provides the ini- or configuration file location. In Multiple thread environments, each thread gets its own option environment, i.e. different options. The ini-file is, usually only opened for the main thread. In order to activate the ini-file for a different thread, the file location has to be set explicitly for the within the thread.

int32 main ( argc, argv ) {

  extern odaba::String  inifile;

  ... // start application

  inifile = odaba::Option().iniFilePath(); // get application ini file

}

startThread () {

  extern odaba::String  inifile;

  odaba::Option().iniFilePath(inifile); // set ini file for thread options

  ...

}  

Return value:   - internal feature (not documented) ( odaba::String  )

Implementation overview

Implementation details

  1. Get ini-file location for current thread
    odaba::String Option  :: iniFilePath (  )
  2. to list
  3. Set ini-file location for current thread
    odaba::String Option  :: iniFilePath ( odaba::String sFile )

    The function sets or changes the ini-file location for the current thread.

    • sFile - - internal feature (not documented)
  4. to list