ProteoWizard
Public Member Functions | Private Attributes
pwiz::analysis::ProteinList_FilterPredicate_IdSet Class Reference

#include <ProteinList_Filter.hpp>

Inheritance diagram for pwiz::analysis::ProteinList_FilterPredicate_IdSet:
pwiz::analysis::ProteinList_Filter::Predicate

List of all members.

Public Member Functions

 ProteinList_FilterPredicate_IdSet (const std::set< std::string > &idSet)
template<typename InputIterator >
 ProteinList_FilterPredicate_IdSet (const InputIterator &begin, const InputIterator &end)
virtual boost::logic::tribool accept (const proteome::Protein &protein) const
 return true iff Protein is accepted
virtual bool done () const
 return true iff done accepting proteins; this allows early termination of the iteration through the original ProteinList, possibly using assumptions about the order of the iteration (e.g.
- Public Member Functions inherited from pwiz::analysis::ProteinList_Filter::Predicate
virtual ~Predicate ()

Private Attributes

std::set< std::string > idSet_

Detailed Description

Definition at line 88 of file ProteinList_Filter.hpp.


Constructor & Destructor Documentation

pwiz::analysis::ProteinList_FilterPredicate_IdSet::ProteinList_FilterPredicate_IdSet ( const std::set< std::string > &  idSet)
template<typename InputIterator >
pwiz::analysis::ProteinList_FilterPredicate_IdSet::ProteinList_FilterPredicate_IdSet ( const InputIterator &  begin,
const InputIterator &  end 
)
inline

Definition at line 92 of file ProteinList_Filter.hpp.

: idSet_(begin, end) {}

Member Function Documentation

virtual boost::logic::tribool pwiz::analysis::ProteinList_FilterPredicate_IdSet::accept ( const proteome::Protein protein) const
virtual

return true iff Protein is accepted

Reimplemented from pwiz::analysis::ProteinList_Filter::Predicate.

virtual bool pwiz::analysis::ProteinList_FilterPredicate_IdSet::done ( ) const
virtual

return true iff done accepting proteins; this allows early termination of the iteration through the original ProteinList, possibly using assumptions about the order of the iteration (e.g.

index is increasing)

Reimplemented from pwiz::analysis::ProteinList_Filter::Predicate.


Member Data Documentation

std::set<std::string> pwiz::analysis::ProteinList_FilterPredicate_IdSet::idSet_
mutableprivate

Definition at line 97 of file ProteinList_Filter.hpp.


The documentation for this class was generated from the following file: