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;
boost::shared_ptr< Spectrum > SpectrumPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:236
Spectrum()
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:192
boost::shared_ptr< Chromatogram > ChromatogramPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:156
OSBinaryDataArray BinaryDataArray
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/DataStructures.h:78
boost::shared_ptr< BinaryDataArray > BinaryDataArrayPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:80
BinaryDataArrayPtr getMZArray() const
get m/z array (may be null)
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:212
The datastructures used by the OpenSwath interfaces.
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:72
BinaryDataArrayPtr getTimeArray() const
get time array (may be null)
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:132
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
Chromatogram()
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:112
std::size_t defaultArrayLength
default length of binary data arrays contained in this element.
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:185
A single chromatogram.
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:102
void setIntensityArray(BinaryDataArrayPtr data)
set intensity array
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:230
BinaryDataArrayPtr getIntensityArray() const
get intensity array (may be null)
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:144
std::size_t defaultArrayLength
default length of binary data arrays contained in this element.
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:105
The structure that captures the generation of a peak list (including the underlying acquisitions) ...
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:182
void setMZArray(BinaryDataArrayPtr data)
set mz array
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:218
std::vector< BinaryDataArrayPtr > binaryDataArrayPtrs
list of binary data arrays.
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:189
void initvec()
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:201
boost::shared_ptr< ChromatogramMeta > ChromatogramMetaPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:99
boost::shared_ptr< SpectrumMeta > SpectrumMetaPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:179
std::vector< BinaryDataArrayPtr > binaryDataArrayPtrs
list of binary data arrays.
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:109
std::vector< double > data
this optional attribute may reference the 'id' attribute of the appropriate dataProcessing.
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:78
void setIntensityArray(BinaryDataArrayPtr data)
set intensity array
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:150
BinaryDataArrayPtr getIntensityArray() const
get intensity array (may be null)
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:224
void setTimeArray(BinaryDataArrayPtr data)
set time array
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:138
void initvec()
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:121