| 620 | } |
| 621 | |
| 622 | std::vector<int> ParamValue::toIntVector() const |
| 623 | { |
| 624 | if (value_type_ != INT_LIST) |
| 625 | { |
| 626 | throw Exception::ConversionError(__FILE__, __LINE__, OPENMS_PRETTY_FUNCTION, "Could not convert non-std::vector<int> ParamValue to std::vector<int>"); |
| 627 | } |
| 628 | return *(data_.int_list_); |
| 629 | } |
| 630 | |
| 631 | std::vector<double> ParamValue::toDoubleVector() const { |
| 632 | if (value_type_ != DOUBLE_LIST) |
no outgoing calls
no test coverage detected