PropertiesPtr Ice::createProperties | ( | StringSeq & | seq, |
const PropertiesPtr & | defaults = nullptr ) |
Creates a property set initialized from command-line arguments and a default property set.
seq | The command-line arguments. This function parses arguments starting with -- and one of the reserved prefixes (Ice, IceSSL, etc.) as properties and removes these elements from the list. 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. |