39 #include <boost/shared_ptr.hpp>
41 #include <OpenMS/config.h>
113 defaultArrayLength(2),
114 binaryDataArrayPtrs(defaultArrayLength)
123 for (std::size_t i = 0; i < defaultArrayLength; ++i)
126 binaryDataArrayPtrs[i] = empty;
134 return binaryDataArrayPtrs[0];
140 binaryDataArrayPtrs[0] = data;
146 return binaryDataArrayPtrs[1];
152 binaryDataArrayPtrs[1] = data;
193 defaultArrayLength(2),
194 binaryDataArrayPtrs(defaultArrayLength)
203 for (std::size_t i = 0; i < defaultArrayLength; ++i)
206 binaryDataArrayPtrs[i] = empty;
214 return binaryDataArrayPtrs[0];
220 binaryDataArrayPtrs[0] = data;
226 return binaryDataArrayPtrs[1];
232 binaryDataArrayPtrs[1] = data;
std::vector< double > data
this optional attribute may reference the 'id' attribute of the appropriate dataProcessing.
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:78
boost::shared_ptr< ChromatogramMeta > ChromatogramMetaPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:99
boost::shared_ptr< Chromatogram > ChromatogramPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:156
boost::shared_ptr< BinaryDataArray > BinaryDataArrayPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:80
boost::shared_ptr< Spectrum > SpectrumPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:236
boost::shared_ptr< SpectrumMeta > SpectrumMetaPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:179
The datastructures used by the OpenSwath interfaces.
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:73
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48
A single chromatogram.
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:103
void setIntensityArray(BinaryDataArrayPtr data)
set intensity array
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:150
std::size_t defaultArrayLength
default length of binary data arrays contained in this element.
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:105
void setTimeArray(BinaryDataArrayPtr data)
set time array
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:138
Chromatogram()
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:112
std::vector< BinaryDataArrayPtr > binaryDataArrayPtrs
list of binary data arrays.
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:109
BinaryDataArrayPtr getTimeArray() const
get time array (may be null)
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:132
BinaryDataArrayPtr getIntensityArray() const
get intensity array (may be null)
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:144
void initvec()
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:121
The structure that captures the generation of a peak list (including the underlying acquisitions)
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:183
void setIntensityArray(BinaryDataArrayPtr data)
set intensity array
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:230
Spectrum()
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:192
std::size_t defaultArrayLength
default length of binary data arrays contained in this element.
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:185
std::vector< BinaryDataArrayPtr > binaryDataArrayPtrs
list of binary data arrays.
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:189
BinaryDataArrayPtr getMZArray() const
get m/z array (may be null)
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:212
BinaryDataArrayPtr getIntensityArray() const
get intensity array (may be null)
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:224
void initvec()
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:201
void setMZArray(BinaryDataArrayPtr data)
set mz array
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:218