OpenMS  2.4.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
OSSpectrum Struct Reference

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

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

Public Member Functions

 OSSpectrum ()
 
BinaryDataArrayPtr getMZArray () const
 get m/z array (may be null) More...
 
void setMZArray (BinaryDataArrayPtr data)
 
BinaryDataArrayPtr getIntensityArray () const
 get intensity array (may be null) More...
 
void setIntensityArray (BinaryDataArrayPtr data)
 
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]

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

non-mutable access to the underlying data arrays

◆ getDataArrays() [2/2]

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

mutable access to the underlying data arrays

◆ 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

◆ setMZArray()

void setMZArray ( BinaryDataArrayPtr  data)
inline

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.