CycloBranch
cFragmentIonType Struct Reference

The struct for definition of a fragment ion type. More...

#include <cFragmentIons.h>

Public Member Functions

 cFragmentIonType ()
 The default constructor.
 
void clear ()
 Clear the structure.
 
void store (ofstream &os)
 Store the structure into an output stream. More...
 
void load (ifstream &is)
 Load the structure from an input stream. More...
 

Public Attributes

string name
 Name of the fragment.
 
string summary
 Formula of the fragment.
 
map< string, int > summarymap
 A map of atoms corresponding to the formula.
 
double massdifference
 Mass difference of the fragment.
 
bool nterminal
 True when the fragment is N-terminal.
 
bool cterminal
 True when the fragment is C-terminal.
 
bool positive
 Charge of the fragment.
 

Detailed Description

The struct for definition of a fragment ion type.

Member Function Documentation

◆ load()

void cFragmentIonType::load ( ifstream &  is)

Load the structure from an input stream.

Parameters
isan input stream

◆ store()

void cFragmentIonType::store ( ofstream &  os)

Store the structure into an output stream.

Parameters
osan output stream

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