OpenMS  2.5.0
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
Spectrum Struct Reference

The structure that captures the generation of a peak list (including the underlying acquisitions) More...

#include <OpenMS/INTERFACES/DataStructures.h>

Public Member Functions

 Spectrum ()
 
BinaryDataArrayPtr getMZArray () const
 get m/z array (may be null) More...
 
void setMZArray (BinaryDataArrayPtr data)
 set mz array More...
 
BinaryDataArrayPtr getIntensityArray () const
 get intensity array (may be null) More...
 
void setIntensityArray (BinaryDataArrayPtr data)
 set intensity array More...
 

Public Attributes

std::size_t defaultArrayLength
 default length of binary data arrays contained in this element. More...
 

Private Member Functions

void initvec ()
 

Private Attributes

std::vector< BinaryDataArrayPtrbinaryDataArrayPtrs
 list of binary data arrays. More...
 

Detailed Description

The structure that captures the generation of a peak list (including the underlying acquisitions)

Constructor & Destructor Documentation

◆ Spectrum()

Spectrum ( )
inline

Member Function Documentation

◆ getIntensityArray()

BinaryDataArrayPtr getIntensityArray ( ) const
inline

get intensity array (may be null)

◆ getMZArray()

BinaryDataArrayPtr getMZArray ( ) const
inline

get m/z array (may be null)

◆ initvec()

void initvec ( )
inlineprivate

◆ setIntensityArray()

void setIntensityArray ( BinaryDataArrayPtr  data)
inline

set intensity array

◆ setMZArray()

void setMZArray ( BinaryDataArrayPtr  data)
inline

set mz array

Member Data Documentation

◆ binaryDataArrayPtrs

std::vector<BinaryDataArrayPtr> binaryDataArrayPtrs
private

list of binary data arrays.

◆ defaultArrayLength

std::size_t defaultArrayLength

default length of binary data arrays contained in this element.