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