Go to the documentation of this file.
24 #ifndef _SPECTRUMITERATOR_HPP_
25 #define _SPECTRUMITERATOR_HPP_
78 : scanNumbers(0), sieve(0), getBinaryData(true)
82 : scanNumbers(&_scanNumbers), sieve(0), getBinaryData(_getBinaryData)
86 : scanNumbers(0), sieve(&_sieve), getBinaryData(_getBinaryData)
139 #endif // _SPECTRUMITERATOR_HPP_
bool operator==(const SpectrumIterator &that) const
SpectrumIterator operator++(int)
don't do this – avoid temporary copy
SpectrumIterator()
special default object for marking past-the-end
SpectrumIterator & operator=(const SpectrumIterator &)
no copying
The structure that captures the generation of a peak list (including the underlying acquisitions)
Config(const Sieve &_sieve, bool _getBinaryData=true)
bool operator!=(const SpectrumIterator &that) const
SpectrumIterator(const SpectrumList &spectrumList, const Config &config=Config())
constructor for normal initialization of the iterator
std::input_iterator_tag iterator_category
virtual bool accept(const Spectrum &spectrum) const
interface for filtering based on ScanInfo
SpectrumIterator & operator++()
const IntegerSet * scanNumbers
boost::shared_ptr< Impl > impl_
Config(const IntegerSet &_scanNumbers, bool _getBinaryData=true)
SpectrumIterator provides convenient iteration through a set of scans in a SpectrumList.
const Spectrum * operator->() const
SpectrumIterator(const SpectrumIterator &)
copy constructor
This is the root element of ProteoWizard; it represents the mzML element, defined as: intended to cap...
SpectrumIterator(const MSData &msd, const Config &config=Config())
constructor using MSData object
SpectrumIterator configuration – note that constructors allow automatic conversion from IntegerSet or...
Interface for accessing spectra, which may be stored in memory or backed by a data file (RAW,...
const Spectrum & operator*() const
a virtual container of integers, accessible via an iterator interface, stored as union of intervals