| 493 | } |
| 494 | |
| 495 | parameters get_parameter_index(const std::string& param_name) { |
| 496 | parameters iOutput; |
| 497 | if (is_valid_parameter(param_name, iOutput)) { |
| 498 | return iOutput; |
| 499 | } else { |
| 500 | throw ValueError(format("Your input name [%s] is not valid in get_parameter_index (names are case sensitive)", param_name.c_str())); |
| 501 | } |
| 502 | } |
| 503 | |
| 504 | struct input_pair_info |
| 505 | { |