Trough the use of class Configuration defined in module ALib Configuration of the ALib C++ Library, external configuration variables can be comfortably defined and accessed.
The variables documented here, are defined and used with module ALib BaseCamp and provide some small tools for general use.
Configuration data can be provided in configuration files, by setting environment variables, providing command line parameters or by any custom mechanism.
While this is a reference appendix chapter, for general information, please refer to:
This page lists the few variables defined with module ALib BaseCamp. The variables are resourced with this module and declared with enum class basecamp::Variables.
Variables | |
Configuration Variable | ALIB_HAS_CONSOLE_WINDOW |
Configuration Variable | ALIB_LOCALE |
Configuration Variable | ALIB_WAIT_FOR_KEY_PRESS |
ALIB_HAS_CONSOLE_WINDOW |
Default Value: ""
(empty string)
This boolean configuration variable overwrites the value determined in method BaseCamp::HasConsoleWindow.
Definition at line 14 of file alib_ref_alib_config_variables.dox.
ALIB_LOCALE |
Default Value: ""
(empty string)
This boolean variable is evaluated within bootstrapping ALib Camp ALib BaseCamp. The behavior is as follows:
The right definition of the locale is important, when using methods of module ALib Strings for converting multi-byte character strings to wide character strings. Furthermore, default values for formatting numbers and other types are influenced by this variable.
Definition at line 13 of file alib_ref_alib_config_variables.dox.
ALIB_WAIT_FOR_KEY_PRESS |
Default Value: ""
(empty string)
This boolean variable is evaluated within bootstrapping ALib Camp ALib BaseCamp.
If set, it overrules the default behavior of detecting an appropriate value for field BaseCamp::WaitForKeyPressOnTermination.
Definition at line 15 of file alib_ref_alib_config_variables.dox.