Public Member Functions | Public Attributes
pwiz::chemistry::MassAbundance Struct Reference

struct for holding isotope information More...

#include <Chemistry.hpp>

List of all members.

Public Member Functions

 MassAbundance (double m=0, double a=0)
bool operator== (const MassAbundance &that) const
bool operator!= (const MassAbundance &that) const

Public Attributes

double mass
double abundance

Detailed Description

struct for holding isotope information

Definition at line 51 of file Chemistry.hpp.

Constructor & Destructor Documentation

pwiz::chemistry::MassAbundance::MassAbundance ( double  m = 0,
double  a = 0 

Definition at line 56 of file Chemistry.hpp.

: mass(m), abundance(a)

Member Function Documentation

bool pwiz::chemistry::MassAbundance::operator== ( const MassAbundance that) const
bool pwiz::chemistry::MassAbundance::operator!= ( const MassAbundance that) const

Member Data Documentation

double pwiz::chemistry::MassAbundance::mass

Definition at line 53 of file Chemistry.hpp.

Referenced by hasLessMass().

double pwiz::chemistry::MassAbundance::abundance

Definition at line 54 of file Chemistry.hpp.

Referenced by hasGreaterAbundance(), and testMassAbundance().

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