24 #ifndef _SPECTRUMLIST_FILTER_HPP_ 25 #define _SPECTRUMLIST_FILTER_HPP_ 33 #include "boost/logic/tribool.hpp" 75 virtual bool done()
const {
return false;}
84 virtual size_t size()
const;
92 boost::shared_ptr<Impl>
impl_;
107 virtual bool done()
const;
120 virtual bool done()
const;
133 virtual boost::logic::tribool accept(
const msdata::Spectrum& spectrum)
const;
145 virtual boost::logic::tribool accept(
const msdata::Spectrum& spectrum)
const;
158 virtual boost::logic::tribool accept(
const msdata::Spectrum& spectrum)
const;
170 virtual boost::logic::tribool accept(
const msdata::Spectrum& spectrum)
const;
182 virtual boost::logic::tribool accept(
const msdata::Spectrum& spectrum)
const;
198 virtual boost::logic::tribool accept(
const msdata::Spectrum& spectrum)
const;
210 virtual boost::logic::tribool accept(
const msdata::Spectrum& spectrum)
const;
223 virtual boost::logic::tribool accept(
const msdata::Spectrum& spectrum)
const;
235 virtual boost::logic::tribool accept(
const msdata::Spectrum& spectrum)
const;
249 virtual boost::logic::tribool accept(
const msdata::Spectrum& spectrum)
const;
263 virtual boost::logic::tribool accept(
const msdata::Spectrum& spectrum)
const;
275 #endif // _SPECTRUMLIST_FILTER_HPP_
chemistry::MZTolerance mzt_
util::IntegerSet scanEventSet_
a virtual container of integers, accessible via an iterator interface, stored as union of intervals ...
virtual msdata::DetailLevel suggestedDetailLevel() const
can be overridden in subclasses that know they will need a certain detail level; it must be overridde...
boost::shared_ptr< Impl > impl_
virtual boost::logic::tribool accept(const msdata::SpectrumIdentity &spectrumIdentity) const
return values: true: accept the Spectrum false: reject the Spectrum indeterminate: need to see the fu...
virtual boost::logic::tribool accept(const msdata::SpectrumIdentity &spectrumIdentity) const
return values: true: accept the Spectrum false: reject the Spectrum indeterminate: need to see the fu...
virtual boost::logic::tribool accept(const msdata::SpectrumIdentity &spectrumIdentity) const
return values: true: accept the Spectrum false: reject the Spectrum indeterminate: need to see the fu...
boost::shared_ptr< Spectrum > SpectrumPtr
virtual boost::logic::tribool accept(const msdata::SpectrumIdentity &spectrumIdentity) const
return values: true: accept the Spectrum false: reject the Spectrum indeterminate: need to see the fu...
std::set< pwiz::cv::CVID > cvFilterItems
virtual boost::logic::tribool accept(const msdata::SpectrumIdentity &spectrumIdentity) const
return values: true: accept the Spectrum false: reject the Spectrum indeterminate: need to see the fu...
util::IntegerSet defaultArrayLengthSet_
virtual boost::logic::tribool accept(const msdata::Spectrum &spectrum) const
return true iff Spectrum is accepted
virtual msdata::DetailLevel suggestedDetailLevel() const
can be overridden in subclasses that know they will need a certain detail level; it must be overridde...
client-implemented filter predicate – called during construction of SpectrumList_Filter to create th...
std::set< double > precursorMzSet_
Inheritable pass-through implementation for wrapping a SpectrumList.
util::IntegerSet msLevelSet_
util::IntegerSet chargeStateSet_
std::set< pwiz::cv::CVID > cvFilterItems
boost::shared_ptr< SpectrumList > SpectrumListPtr
util::IntegerSet indexSet_
PWIZ_API_DECL std::ostream & operator<<(std::ostream &os, PepxmlRecordReader &prr)
virtual boost::logic::tribool accept(const msdata::SpectrumIdentity &spectrumIdentity) const
return values: true: accept the Spectrum false: reject the Spectrum indeterminate: need to see the fu...
Identifying information for a spectrum.
virtual bool done() const
return true iff done accepting spectra; this allows early termination of the iteration through the or...
virtual boost::logic::tribool accept(const msdata::SpectrumIdentity &spectrumIdentity) const
return values: true: accept the Spectrum false: reject the Spectrum indeterminate: need to see the fu...
util::IntegerSet scanNumberSet_
struct for expressing m/z tolerance in either amu or ppm
PWIZ_API_DECL std::istream & operator>>(std::istream &is, SpectrumList_Filter::Predicate::FilterMode &mode)
virtual boost::logic::tribool accept(const msdata::SpectrumIdentity &spectrumIdentity) const
return values: true: accept the Spectrum false: reject the Spectrum indeterminate: need to see the fu...
std::set< double > mzSet_
FilterMode
controls whether spectra that pass the predicate are included or excluded from the result ...
SpectrumList filter, for creating Spectrum sub-lists.
chemistry::MZTolerance tolerance_
virtual boost::logic::tribool accept(const msdata::SpectrumIdentity &spectrumIdentity) const
return values: true: accept the Spectrum false: reject the Spectrum indeterminate: need to see the fu...
The structure that captures the generation of a peak list (including the underlying acquisitions) ...
virtual boost::logic::tribool accept(const msdata::SpectrumIdentity &spectrumIdentity) const
return values: true: accept the Spectrum false: reject the Spectrum indeterminate: need to see the fu...