ProteoWizard
Public Types | Public Member Functions | Public Attributes | List of all members
pwiz::data::peakdata::Peak Struct Reference

#include <PeakData.hpp>

Public Types

enum  Attribute { Attribute_Frequency, Attribute_Phase, Attribute_Decay }
 
typedef std::map< Attribute, double > Attributes
 

Public Member Functions

 Peak (double _mz=0, double _retentionTime=0)
 
double getAttribute (Attribute attribute) const
 
bool operator== (const Peak &that) const
 
bool operator!= (const Peak &that) const
 
void write (minimxml::XMLWriter &writer) const
 
void read (std::istream &is)
 

Public Attributes

int id
 
double mz
 
double retentionTime
 
double intensity
 
double area
 
double error
 
std::vector< pwiz::math::OrderedPairdata
 
Attributes attributes
 

Detailed Description

Definition at line 52 of file PeakData.hpp.

Member Typedef Documentation

§ Attributes

Definition at line 74 of file PeakData.hpp.

Member Enumeration Documentation

§ Attribute

Enumerator
Attribute_Frequency 
Attribute_Phase 
Attribute_Decay 

Definition at line 67 of file PeakData.hpp.

Constructor & Destructor Documentation

§ Peak()

pwiz::data::peakdata::Peak::Peak ( double  _mz = 0,
double  _retentionTime = 0 
)

Member Function Documentation

§ getAttribute()

double pwiz::data::peakdata::Peak::getAttribute ( Attribute  attribute) const

Referenced by test().

§ operator==()

bool pwiz::data::peakdata::Peak::operator== ( const Peak that) const

§ operator!=()

bool pwiz::data::peakdata::Peak::operator!= ( const Peak that) const

§ write()

void pwiz::data::peakdata::Peak::write ( minimxml::XMLWriter writer) const

Referenced by testPeak().

§ read()

void pwiz::data::peakdata::Peak::read ( std::istream &  is)

Referenced by testPeak().

Member Data Documentation

§ id

int pwiz::data::peakdata::Peak::id

Definition at line 54 of file PeakData.hpp.

Referenced by testPeak(), and testPeakEquality().

§ mz

double pwiz::data::peakdata::Peak::mz

Definition at line 56 of file PeakData.hpp.

Referenced by initializePeakFamily(), testPeak(), and testPeakEquality().

§ retentionTime

double pwiz::data::peakdata::Peak::retentionTime

Definition at line 57 of file PeakData.hpp.

Referenced by testPeak(), and testPeakEquality().

§ intensity

double pwiz::data::peakdata::Peak::intensity

Definition at line 59 of file PeakData.hpp.

Referenced by test(), testPeak(), and testPeakEquality().

§ area

double pwiz::data::peakdata::Peak::area

Definition at line 60 of file PeakData.hpp.

Referenced by testPeak(), and testPeakEquality().

§ error

double pwiz::data::peakdata::Peak::error

Definition at line 61 of file PeakData.hpp.

Referenced by testPeak(), and testPeakEquality().

§ data

std::vector<pwiz::math::OrderedPair> pwiz::data::peakdata::Peak::data

Definition at line 63 of file PeakData.hpp.

Referenced by testPeak().

§ attributes

Attributes pwiz::data::peakdata::Peak::attributes

Definition at line 75 of file PeakData.hpp.

Referenced by test(), testPeak(), and testPeakEquality().


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