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

Method toStringList

src/openms/source/DATASTRUCTURES/DataValue.cpp:690–698  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

688 }
689
690 StringList DataValue::toStringList() const
691 {
692 if (value_type_ != STRING_LIST)
693 {
694 throw Exception::ConversionError(__FILE__, __LINE__, OPENMS_PRETTY_FUNCTION,
695 "Could not convert non-StringList DataValue of type '" + NamesOfDataType[value_type_] + "' and value '" + this->toString(true) + "' to StringList");
696 }
697 return *(data_.str_list_);
698 }
699
700 IntList DataValue::toIntList() const
701 {

Callers 10

testDataValueFunction · 0.95
getSeparateScoreMethod · 0.45
searchSpectrumMethod · 0.45
annotateConsensusMapMethod · 0.45
IdentificationRunsMethod · 0.45
DataValue.cppFile · 0.45
DataValue_test.cppFile · 0.45
START_SECTIONFunction · 0.45
START_SECTIONFunction · 0.45

Calls 1

toStringMethod · 0.95

Tested by 5

testDataValueFunction · 0.76
searchSpectrumMethod · 0.36
START_SECTIONFunction · 0.36
START_SECTIONFunction · 0.36