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

Method addFeature

src/openms/source/KERNEL/MRMFeature.cpp:70–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68 }
69
70 void MRMFeature::addFeature(const Feature & feature, const String& key)
71 {
72 features_.push_back(feature);
73 feature_map_[key] = Int(features_.size()) - 1;
74 }
75
76 void MRMFeature::addFeature(Feature && feature, const String& key)
77 {

Callers 6

testMRMFeatureFunction · 0.95
START_SECTIONFunction · 0.45
START_SECTIONFunction · 0.45
START_SECTIONFunction · 0.45
createMockFeatureFunction · 0.45

Calls 2

push_backMethod · 0.45
sizeMethod · 0.45

Tested by 5

testMRMFeatureFunction · 0.76
START_SECTIONFunction · 0.36
START_SECTIONFunction · 0.36
START_SECTIONFunction · 0.36
createMockFeatureFunction · 0.36