OpenMS
IdentifiedMolecule Struct Reference

Variant type holding Peptide/Compound/Oligo references and convenience functions. More...

#include <OpenMS/METADATA/ID/IdentifiedMolecule.h>

Inheritance diagram for IdentifiedMolecule:
[legend]
Collaboration diagram for IdentifiedMolecule:
[legend]

Public Member Functions

 IdentifiedMolecule ()=default
 
 IdentifiedMolecule (IdentifiedPeptideRef ref)
 
 IdentifiedMolecule (IdentifiedCompoundRef ref)
 
 IdentifiedMolecule (IdentifiedOligoRef ref)
 
 IdentifiedMolecule (const IdentifiedMolecule &)=default
 
MoleculeType getMoleculeType () const
 
IdentifiedPeptideRef getIdentifiedPeptideRef () const
 
IdentifiedCompoundRef getIdentifiedCompoundRef () const
 
IdentifiedOligoRef getIdentifiedOligoRef () const
 
String toString () const
 
EmpiricalFormula getFormula (Size fragment_type=0, Int charge=0) const
 

Detailed Description

Variant type holding Peptide/Compound/Oligo references and convenience functions.

Constructor & Destructor Documentation

◆ IdentifiedMolecule() [1/5]

IdentifiedMolecule ( )
default

◆ IdentifiedMolecule() [2/5]

◆ IdentifiedMolecule() [3/5]

◆ IdentifiedMolecule() [4/5]

◆ IdentifiedMolecule() [5/5]

IdentifiedMolecule ( const IdentifiedMolecule )
default

Member Function Documentation

◆ getFormula()

EmpiricalFormula getFormula ( Size  fragment_type = 0,
Int  charge = 0 
) const

◆ getIdentifiedCompoundRef()

IdentifiedCompoundRef getIdentifiedCompoundRef ( ) const

◆ getIdentifiedOligoRef()

IdentifiedOligoRef getIdentifiedOligoRef ( ) const

◆ getIdentifiedPeptideRef()

IdentifiedPeptideRef getIdentifiedPeptideRef ( ) const

◆ getMoleculeType()

MoleculeType getMoleculeType ( ) const

◆ toString()

String toString ( ) const