ProteoWizard
Public Member Functions | Public Attributes | List of all members
pwiz::msdata::MZIntensityPair Struct Reference

The data point type of a mass spectrum. More...

#include <MSData.hpp>

Public Member Functions

 MZIntensityPair ()
 
 MZIntensityPair (double mz, double intensity)
 
bool operator== (const MZIntensityPair &that) const
 returns true iff mz and intensity are pairwise equal
 

Public Attributes

double mz
 
double intensity
 

Detailed Description

The data point type of a mass spectrum.

Definition at line 422 of file MSData.hpp.

Constructor & Destructor Documentation

◆ MZIntensityPair() [1/2]

pwiz::msdata::MZIntensityPair::MZIntensityPair ( )
inline

Definition at line 427 of file MSData.hpp.

◆ MZIntensityPair() [2/2]

pwiz::msdata::MZIntensityPair::MZIntensityPair ( double  mz,
double  intensity 
)
inline

Definition at line 431 of file MSData.hpp.

433 {}

Member Function Documentation

◆ operator==()

bool pwiz::msdata::MZIntensityPair::operator== ( const MZIntensityPair that) const

returns true iff mz and intensity are pairwise equal

Member Data Documentation

◆ mz

double pwiz::msdata::MZIntensityPair::mz

Definition at line 424 of file MSData.hpp.

Referenced by testSpectrumListSimple().

◆ intensity

double pwiz::msdata::MZIntensityPair::intensity

Definition at line 425 of file MSData.hpp.

Referenced by testSpectrumListSimple().


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