CycloBranch
cIonType Struct Reference

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

#include <cGlobalPreferences.h>

Public Member Functions

 cIonType ()
 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 ion.
 
string formula
 Formula of the ion.
 
double massdifference
 Mass difference of the ion from the neutral molecule.
 
bool positive
 Charge of the ion.
 
int multiplier
 The multiplier n in [nM + H]+.
 

Detailed Description

The struct for definition of a ion type.

Member Function Documentation

◆ load()

void cIonType::load ( ifstream &  is)
inline

Load the structure from an input stream.

Parameters
isan input stream

◆ store()

void cIonType::store ( ofstream &  os)
inline

Store the structure into an output stream.

Parameters
osan output stream

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