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

Method removeValue

src/openms/source/METADATA/MetaInfo.cpp:94–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92 }
93
94 void MetaInfo::removeValue(const String& name)
95 {
96 MapType::iterator it = index_to_value_.find(registry_.getIndex(name));
97 if (it != index_to_value_.end())
98 {
99 index_to_value_.erase(it);
100 }
101 }
102
103 void MetaInfo::removeValue(UInt index)
104 {

Callers 2

removeMetaValueMethod · 0.80
MetaInfo_test.cppFile · 0.80

Calls 4

findMethod · 0.45
getIndexMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected