Option :: expose - Export option to environment variable
The function allows exporting an option value to the system environment of the process. This allows passing information to subsequent processes called from the current process. Exported options can be retrieved in subsequent processes by calling Option ::toString() , as option variable in OSI scripts ( % option_name % ) or as environment variable in shell procedures.
When the option has got a hierarchical name (e.g. sample.database ), the complete path is used as name for the environment variable.
Implementation overview
- Export current option value
Option :: expose (  ) - Export value
Option :: expose ( sValue )
Implementation details
-
Export current option value
Option  :: expose (  )
The function exports the option value currently set to the environment variable.
to list
-
Export value
Option  :: expose ( odaba::String &sValue )
The function exports the current option variable setting the value passed in sValue as current value for the environment variable. The value is not set in the internal option. In order to set internal option values, set() should be called.
- sValue - String value
to list