Constructs a property set, loads the configuration files specified by the Ice.Config property or the ICE_CONFIG environment variable, and then parses Ice properties from args.
- Template Parameters
-
| ArgvT | The type of the argument vector, such as char**, const char**, or wchar_t** (on Windows). |
- Parameters
-
| [in,out] | argc | The number of command-line arguments in argv. When this constructor parses properties from argv, it reshuffles the arguments so that the remaining arguments start at the beginning of argv, and updates argc accordingly. |
| argv | The command-line arguments. This constructor parses arguments starting with -- and one of the reserved prefixes (Ice, IceSSL, etc.) as properties. If there is an argument starting with --Ice.Config, this constructor loads the specified configuration file. When the same property is set in a configuration file and through a command-line argument, the command-line setting takes precedence. |
| defaults | Default values for the new Properties object. Settings in configuration files and the arguments override these defaults. |
Definition at line 97 of file Properties.h.