Go to the documentation of this file.
24 #ifndef _CHROMATOGRAMLIST_FILTER_HPP_
25 #define _CHROMATOGRAMLIST_FILTER_HPP_
32 #include "boost/logic/tribool.hpp"
67 virtual bool done()
const {
return false;}
76 virtual size_t size()
const;
106 #endif // _CHROMATOGRAMLIST_FILTER_HPP_
util::IntegerSet indexSet_
ChromatogramList_Filter & operator=(ChromatogramList_Filter &)
virtual const msdata::ChromatogramIdentity & chromatogramIdentity(size_t index) const
access to a chromatogram index
virtual boost::logic::tribool accept(const msdata::Chromatogram &chromatogram) const
return true iff Chromatogram is accepted
virtual boost::logic::tribool accept(const msdata::ChromatogramIdentity &chromatogramIdentity) const
return values: true: accept the Chromatogram false: reject the Chromatogram indeterminate: need to se...
Identifying information for a chromatogram.
boost::shared_ptr< ChromatogramList > ChromatogramListPtr
ChromatogramList_FilterPredicate_IndexSet(const util::IntegerSet &indexSet)
ChromatogramList_Filter(const msdata::ChromatogramListPtr original, const Predicate &predicate)
virtual msdata::ChromatogramPtr chromatogram(size_t index, bool getBinaryData=false) const
retrieve a chromatogram by index
virtual bool 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::ChromatogramIdentity &chromatogramIdentity) const =0
return values: true: accept the Chromatogram false: reject the Chromatogram indeterminate: need to se...
virtual bool done() const
return true iff done accepting chromatograms; this allows early termination of the iteration through ...
Inheritable pass-through implementation for wrapping a ChromatogramList.
client-implemented filter predicate – called during construction of ChromatogramList_Filter to create...
boost::shared_ptr< Chromatogram > ChromatogramPtr
virtual size_t size() const
returns the number of chromatograms
ChromatogramList_Filter(ChromatogramList_Filter &)
virtual bool done() const
return true iff done accepting chromatograms; this allows early termination of the iteration through ...
a virtual container of integers, accessible via an iterator interface, stored as union of intervals
ChromatogramList filter, for creating Chromatogram sub-lists.