Creates a property set initialized from command-line arguments and a default property set.
- Parameters
-
argc | The number of arguments in argv . When this function parses properties from argv , it reshuffles the arguments so that the remaining arguments start at the beginning of argv , and updates argc . |
argv | The command-line arguments. This function 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 function 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 property set. Settings in configuration files and the arguments override these defaults. |
- Returns
- A new property set initialized with the properties that were removed from the argument vector.
Definition at line 223 of file Properties.h.