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

Method getIndex

src/openms/source/METADATA/MetaInfoRegistry.cpp:205–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203 }
204
205 UInt MetaInfoRegistry::getIndex(const String& name) const
206 {
207 UInt rv = UInt(-1);
208#pragma omp critical (MetaInfoRegistry)
209 {
210 MapString2IndexType::const_iterator it = name_to_index_.find(name);
211 if (it != name_to_index_.end())
212 {
213 rv = it->second;
214 }
215 }
216 return rv;
217 }
218
219 String MetaInfoRegistry::getDescription(UInt index) const
220 {

Callers 14

MetaInfo.cppFile · 0.45
existsMethod · 0.45
removeValueMethod · 0.45
clusterMethod · 0.45
extendClustersYMethod · 0.45
init_Method · 0.45
findNearestNeighbour_Method · 0.45
loadFunction · 0.45
MetaInfo_test.cppFile · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected