13 #include <boost/shared_ptr.hpp>
15 #include <OpenMS/config.h>
87 defaultArrayLength(2),
88 binaryDataArrayPtrs(defaultArrayLength)
97 for (std::size_t i = 0; i < defaultArrayLength; ++i)
100 binaryDataArrayPtrs[i] = empty;
108 return binaryDataArrayPtrs[0];
114 binaryDataArrayPtrs[0] = data;
120 return binaryDataArrayPtrs[1];
126 binaryDataArrayPtrs[1] = data;
167 defaultArrayLength(2),
168 binaryDataArrayPtrs(defaultArrayLength)
177 for (std::size_t i = 0; i < defaultArrayLength; ++i)
180 binaryDataArrayPtrs[i] = empty;
188 return binaryDataArrayPtrs[0];
194 binaryDataArrayPtrs[0] = data;
200 return binaryDataArrayPtrs[1];
206 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:52
boost::shared_ptr< ChromatogramMeta > ChromatogramMetaPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:73
boost::shared_ptr< Chromatogram > ChromatogramPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:130
boost::shared_ptr< BinaryDataArray > BinaryDataArrayPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:54
boost::shared_ptr< Spectrum > SpectrumPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:210
boost::shared_ptr< SpectrumMeta > SpectrumMetaPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:153
The datastructures used by the OpenSwath interfaces.
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:47
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
A single chromatogram.
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:77
void setIntensityArray(BinaryDataArrayPtr data)
set intensity array
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:124
std::size_t defaultArrayLength
default length of binary data arrays contained in this element.
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:79
void setTimeArray(BinaryDataArrayPtr data)
set time array
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:112
Chromatogram()
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:86
std::vector< BinaryDataArrayPtr > binaryDataArrayPtrs
list of binary data arrays.
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:83
BinaryDataArrayPtr getTimeArray() const
get time array (may be null)
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:106
BinaryDataArrayPtr getIntensityArray() const
get intensity array (may be null)
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:118
void initvec()
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:95
The structure that captures the generation of a peak list (including the underlying acquisitions)
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:157
void setIntensityArray(BinaryDataArrayPtr data)
set intensity array
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:204
Spectrum()
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:166
std::size_t defaultArrayLength
default length of binary data arrays contained in this element.
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:159
std::vector< BinaryDataArrayPtr > binaryDataArrayPtrs
list of binary data arrays.
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:163
BinaryDataArrayPtr getMZArray() const
get m/z array (may be null)
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:186
BinaryDataArrayPtr getIntensityArray() const
get intensity array (may be null)
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:198
void initvec()
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:175
void setMZArray(BinaryDataArrayPtr data)
set mz array
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:192