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

Method toMap

src/openms/source/CHEMISTRY/EmpiricalFormula.cpp:259–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257 }
258
259 std::map<std::string, int> EmpiricalFormula::toMap() const
260 {
261 std::map<std::string, int> formula_map;
262 for (const auto & it : formula_)
263 {
264 formula_map[it.first->getSymbol()] = it.second;
265 }
266 return formula_map;
267 }
268
269 EmpiricalFormula EmpiricalFormula::operator*(const SignedSize& times) const
270 {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected