def _get_parameter_dictionary(self, base_name, dictionary, sorted_keys, parameter):
<EOL>k = base_name + "<STR_LIT:/>" + parameter.name()<EOL>if not parameter.value()==None:<EOL><INDENT>sorted_keys.append(k[<NUM_LIT:1>:])<EOL>dictionary[sorted_keys[-<NUM_LIT:1>]] = parameter.value()<EOL><DEDENT>for p in parameter.children():<EOL><INDENT>self._get_parameter_dictionary(k, dictionary, sorted_keys, p)<EOL><DEDENT>
Recursively loops over the parameter's children, adding
keys (starting with base_name) and values to the supplied dictionary
(provided they do not have a value of None).