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

Method toDoubleList

src/openms/source/DATASTRUCTURES/DataValue.cpp:710–718  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

708 }
709
710 DoubleList DataValue::toDoubleList() const
711 {
712 if (value_type_ != DOUBLE_LIST)
713 {
714 throw Exception::ConversionError(__FILE__, __LINE__, OPENMS_PRETTY_FUNCTION,
715 "Could not convert non-DoubleList DataValue of type '" + NamesOfDataType[value_type_] + "' and value '" + this->toString(true) + "' to DoubleList");
716 }
717 return *(data_.dou_list_);
718 }
719
720 // Convert DataValues to String
721 String DataValue::toString(bool full_precision) const

Callers 8

testDataValueFunction · 0.95
prepareLineMethod · 0.80
getSeparateScoreMethod · 0.80
DataValue.cppFile · 0.80
calculateVariance_Method · 0.80
mergePeaksMethod · 0.80
DataValue_test.cppFile · 0.80
START_SECTIONFunction · 0.80

Calls 1

toStringMethod · 0.95

Tested by 2

testDataValueFunction · 0.76
START_SECTIONFunction · 0.64