OpenMS  2.7.0
Public Member Functions | Public Attributes | List of all members
SpectrumMetaDataLookup::SpectrumMetaData Struct Reference

Meta data of a spectrum. More...

#include <OpenMS/METADATA/SpectrumMetaDataLookup.h>

Collaboration diagram for SpectrumMetaDataLookup::SpectrumMetaData:
[legend]

Public Member Functions

 SpectrumMetaData ()
 Constructor. More...
 
 SpectrumMetaData (const SpectrumMetaData &)=default
 Copy constructor. More...
 
 SpectrumMetaData (SpectrumMetaData &&)=default
 Move constructor. More...
 
 ~SpectrumMetaData ()=default
 Destructor. More...
 
SpectrumMetaDataoperator= (const SpectrumMetaData &)=default
 Assignment operator. More...
 
SpectrumMetaDataoperator= (SpectrumMetaData &&) &=default
 Move assignment operator. More...
 

Public Attributes

double rt
 Retention time. More...
 
double precursor_rt
 Precursor retention time. More...
 
double precursor_mz
 Precursor mass-to-charge ratio. More...
 
Int precursor_charge
 Precursor charge. More...
 
Size ms_level
 MS level. More...
 
Int scan_number
 Scan number. More...
 
String native_id
 Native ID. More...
 

Detailed Description

Meta data of a spectrum.

Constructor & Destructor Documentation

◆ SpectrumMetaData() [1/3]

SpectrumMetaData ( )
inline

Constructor.

◆ SpectrumMetaData() [2/3]

SpectrumMetaData ( const SpectrumMetaData )
default

Copy constructor.

◆ SpectrumMetaData() [3/3]

Move constructor.

◆ ~SpectrumMetaData()

~SpectrumMetaData ( )
default

Destructor.

Member Function Documentation

◆ operator=() [1/2]

SpectrumMetaData& operator= ( const SpectrumMetaData )
default

Assignment operator.

◆ operator=() [2/2]

SpectrumMetaData& operator= ( SpectrumMetaData &&  ) &
default

Move assignment operator.

Member Data Documentation

◆ ms_level

Size ms_level

MS level.

Referenced by SpectrumMetaDataLookup::readSpectra().

◆ native_id

String native_id

Native ID.

Referenced by SpectrumMetaDataLookup::readSpectra().

◆ precursor_charge

Int precursor_charge

Precursor charge.

◆ precursor_mz

double precursor_mz

Precursor mass-to-charge ratio.

◆ precursor_rt

double precursor_rt

Precursor retention time.

◆ rt

double rt

Retention time.

Referenced by SpectrumMetaDataLookup::readSpectra().

◆ scan_number

Int scan_number

Scan number.

Referenced by SpectrumMetaDataLookup::readSpectra().