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

Method toDoubleVector

src/openms/source/DATASTRUCTURES/ParamValue.cpp:631–637  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

629 }
630
631 std::vector<double> ParamValue::toDoubleVector() const {
632 if (value_type_ != DOUBLE_LIST)
633 {
634 throw Exception::ConversionError(__FILE__, __LINE__, OPENMS_PRETTY_FUNCTION, "Could not convert non-std::vector<double> ParamValue to std::vector<double>");
635 }
636 return *(data_.dou_list_);
637 }
638
639 bool ParamValue::toBool() const
640 {

Callers 5

loadMethod · 0.80
DataValueMethod · 0.80
ParamValue.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected