OpenMS
OSSpectrum Struct Reference

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

#include <OpenMS/OPENSWATHALGO/DATAACCESS/DataStructures.h>

Collaboration diagram for OSSpectrum:
[legend]

Public Member Functions

 OSSpectrum ()
 
BinaryDataArrayPtr getMZArray () const
 get m/z array (may be null) More...
 
void setMZArray (BinaryDataArrayPtr data)
 set m/z array More...
 
BinaryDataArrayPtr getIntensityArray () const
 get intensity array (may be null) More...
 
void setIntensityArray (BinaryDataArrayPtr data)
 set intensity array More...
 
BinaryDataArrayPtr getDriftTimeArray () const
 get drift time array (may be null) More...
 
const std::vector< BinaryDataArrayPtr > & getDataArrays () const
 non-mutable access to the underlying data arrays More...
 
std::vector< BinaryDataArrayPtr > & getDataArrays ()
 mutable access to the underlying data arrays More...
 

Private Member Functions

void initvec ()
 

Private Attributes

std::size_t defaultArrayLength
 default length of binary data arrays contained in this element. More...
 
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

◆ OSSpectrum()

OSSpectrum ( )
inline

Member Function Documentation

◆ getDataArrays() [1/2]

std::vector<BinaryDataArrayPtr>& getDataArrays ( )
inline

mutable access to the underlying data arrays

◆ getDataArrays() [2/2]

const std::vector<BinaryDataArrayPtr>& getDataArrays ( ) const
inline

non-mutable access to the underlying data arrays

◆ getDriftTimeArray()

BinaryDataArrayPtr getDriftTimeArray ( ) const
inline

get drift time array (may be null)

◆ 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 m/z array

Member Data Documentation

◆ binaryDataArrayPtrs

std::vector<BinaryDataArrayPtr> binaryDataArrayPtrs
private

list of binary data arrays.

◆ defaultArrayLength

std::size_t defaultArrayLength
private

default length of binary data arrays contained in this element.