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

Method getNumberOfAtoms

src/openms/source/CHEMISTRY/EmpiricalFormula.cpp:231–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229 }
230
231 SignedSize EmpiricalFormula::getNumberOfAtoms() const
232 {
233 SignedSize num_atoms(0);
234 for (const auto& it : formula_) num_atoms += it.second;
235 return num_atoms;
236 }
237
238 void EmpiricalFormula::setCharge(Int charge)
239 {

Callers 3

testEmpiricalFormulaFunction · 0.95
checkFormula_Method · 0.80

Calls

no outgoing calls

Tested by 1

testEmpiricalFormulaFunction · 0.76