company logo

Option :: Option - Create option

In order to create an option, the option name has to be passed in sOption . The option can be used in order to access another option value after reopening the option by calling open( sOption ) with a different option name.

Implementation overview

Implementation details

  1. Default constructor
    Option  :: Option ( odaba::String &sOption )

    The constructor creates an Option object with the name passed in sOption .

    • sOption - Option name

      Option names are names for variables (options) defined in the configuration or ini-file, in the system environment or set by the program. Option names can be provides as option paths in order to refer to an option value in the option hierarchy.

        option("DICTIONARY");

        option("ode.DICTIONARY");

  2. to list
  3. Create empty Option
    Option  :: Option (  )

    Before using an empty option object, the option name has to be set ( open() )

  4. to list