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

Method getActivationMethodsAsString

src/openms/source/METADATA/Precursor.cpp:102–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100 }
101
102 StringList Precursor::getActivationMethodsAsString() const
103 {
104 StringList am;
105 am.reserve(activation_methods_.size());
106 for (const auto& m : activation_methods_)
107 {
108 am.push_back(NamesOfActivationMethod[m]);
109 }
110 return am;
111 }
112
113 void Precursor::setActivationMethods(const set<Precursor::ActivationMethod> & activation_methods)
114 {

Callers 2

fillRow_Method · 0.80
populatePeakDataRow_Function · 0.80

Calls 3

reserveMethod · 0.45
sizeMethod · 0.45
push_backMethod · 0.45

Tested by 2

fillRow_Method · 0.64
populatePeakDataRow_Function · 0.64