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

Method addMetaValues

src/openms/source/METADATA/MetaInfoInterface.cpp:251–259  ·  view source on GitHub ↗

TODO get a MetaValue list to copy only those that have been set

Source from the content-addressed store, hash-verified

249
250 //TODO get a MetaValue list to copy only those that have been set
251 void MetaInfoInterface::addMetaValues(const MetaInfoInterface& from)
252 {
253 std::vector<String> keys;
254 from.getKeys(keys);
255 for (String& key : keys)
256 {
257 this->setMetaValue(key, from.getMetaValue(key));
258 }
259 }
260
261} //namespace

Callers 5

addPepIDMetaValues_Method · 0.80
runMethod · 0.80
importIDsMethod · 0.80
exportIDsMethod · 0.80

Calls 3

setMetaValueMethod · 0.95
getMetaValueMethod · 0.80
getKeysMethod · 0.45

Tested by 1