CycloBranch
cFragmentIons Class Reference

The detailed definitions of all supported fragment ion types. More...

#include <cFragmentIons.h>

Public Member Functions

 cFragmentIons ()
 The constructor.
 
 cFragmentIons (bool cyclicnterminus, bool cycliccterminus, string &precursoradduct)
 The constructor. More...
 
cFragmentIonTypeoperator[] (eFragmentIonType iontype)
 Overloaded operator []. More...
 
void recalculateFragments (bool cyclicnterminus, bool cycliccterminus, string &precursoradduct)
 Recalculate all fragment ion types. More...
 
void store (ofstream &os)
 Store the structure into an output stream. More...
 
void load (ifstream &is)
 Load the structure from an input stream. More...
 

Detailed Description

The detailed definitions of all supported fragment ion types.

Constructor & Destructor Documentation

◆ cFragmentIons()

cFragmentIons::cFragmentIons ( bool  cyclicnterminus,
bool  cycliccterminus,
string &  precursoradduct 
)

The constructor.

Parameters
cyclicnterminustrue when the N-terminus of a linear peptide is cyclized
cycliccterminustrue when the C-terminus of a linear peptide is cyclized
precursoradductan adduct of a precursor ion

Member Function Documentation

◆ load()

void cFragmentIons::load ( ifstream &  is)

Load the structure from an input stream.

Parameters
isan input stream

◆ operator[]()

cFragmentIonType & cFragmentIons::operator[] ( eFragmentIonType  iontype)

Overloaded operator [].

Parameters
iontypetype of fragment ion
Return values
cFragmentIonTypereference to a structure with detailed information about the fragment ion

◆ recalculateFragments()

void cFragmentIons::recalculateFragments ( bool  cyclicnterminus,
bool  cycliccterminus,
string &  precursoradduct 
)

Recalculate all fragment ion types.

Parameters
cyclicnterminustrue when the N-terminus of a linear peptide is cyclized
cycliccterminustrue when the C-terminus of a linear peptide is cyclized
precursoradductan adduct of a precursor ion

◆ store()

void cFragmentIons::store ( ofstream &  os)

Store the structure into an output stream.

Parameters
osan output stream

The documentation for this class was generated from the following files: