MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / toIntVector

Method toIntVector

src/openms/source/DATASTRUCTURES/ParamValue.cpp:622–629  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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)

Callers 6

loadMethod · 0.80
PPHiResMzMLConsumerMethod · 0.80
DataValueMethod · 0.80
ParamValue.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected