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

Method getMoleculeType

src/openms/source/METADATA/ID/IdentifiedMolecule.cpp:29–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29MoleculeType IdentifiedMolecule::getMoleculeType() const
30{
31 if (std::get_if<IdentifiedPeptideRef>(this))
32 {
33 return MoleculeType::PROTEIN;
34 }
35 if (std::get_if<IdentifiedCompoundRef>(this))
36 {
37 return MoleculeType::COMPOUND;
38 }
39 // if (get<IdentifiedOligoRef>(this))
40 return MoleculeType::RNA;
41}
42
43IdentifiedPeptideRef IdentifiedMolecule::getIdentifiedPeptideRef() const
44{

Callers 7

getDatabaseKey_Method · 0.80
cleanupMethod · 0.80
setMetaValueMethod · 0.80
translateMethod · 0.80
exportIDsMethod · 0.80
exportMzTabMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected