23 #ifndef _PROTEINLIST_FILTER_HPP_ 24 #define _PROTEINLIST_FILTER_HPP_ 30 #include "boost/logic/tribool.hpp" 54 virtual bool done()
const {
return false;}
63 virtual size_t size()
const;
69 boost::shared_ptr<Impl>
impl_;
80 virtual bool done()
const;
94 virtual bool done()
const;
97 mutable std::set<std::string>
idSet_;
105 #endif // _PROTEINLIST_FILTER_HPP_ Inheritable pass-through implementation for wrapping a ProteinList.
a virtual container of integers, accessible via an iterator interface, stored as union of intervals ...
std::set< std::string > idSet_
client-implemented filter predicate – called during construction of ProteinList_Filter to create th...
ProteinList filter, for creating Protein sub-lists.
boost::shared_ptr< Impl > impl_
virtual bool done() const
return true iff done accepting proteins; this allows early termination of the iteration through the o...
util::IntegerSet indexSet_
boost::shared_ptr< ProteinList > ProteinListPtr
boost::shared_ptr< Protein > ProteinPtr
virtual boost::logic::tribool accept(const proteome::Protein &protein) const
return true iff Protein is accepted
ProteinList_FilterPredicate_IdSet(const InputIterator &begin, const InputIterator &end)