ProteoWizard
Public Member Functions | List of all members
pwiz::analysis::ProteinList_Filter::Predicate Struct Reference

client-implemented filter predicate – called during construction of ProteinList_Filter to create the filtered list of proteins More...

#include <ProteinList_Filter.hpp>

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

Public Member Functions

virtual boost::logic::tribool accept (const proteome::Protein &protein) const
 return true iff Protein is accepted More...
 
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. More...
 
virtual ~Predicate ()
 

Detailed Description

client-implemented filter predicate – called during construction of ProteinList_Filter to create the filtered list of proteins

Definition at line 45 of file ProteinList_Filter.hpp.

Constructor & Destructor Documentation

§ ~Predicate()

virtual pwiz::analysis::ProteinList_Filter::Predicate::~Predicate ( )
inlinevirtual

Definition at line 56 of file ProteinList_Filter.hpp.

56 {}

Member Function Documentation

§ accept()

virtual boost::logic::tribool pwiz::analysis::ProteinList_Filter::Predicate::accept ( const proteome::Protein protein) const
inlinevirtual

return true iff Protein is accepted

Reimplemented in pwiz::analysis::ProteinList_FilterPredicate_IdSet, SelectedIndexPredicate, and pwiz::analysis::ProteinList_FilterPredicate_IndexSet.

Definition at line 48 of file ProteinList_Filter.hpp.

48 {return false;}

§ done()

virtual bool pwiz::analysis::ProteinList_Filter::Predicate::done ( ) const
inlinevirtual

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 in SelectedIndexPredicate, pwiz::analysis::ProteinList_FilterPredicate_IdSet, SelectedIndexPredicate, and pwiz::analysis::ProteinList_FilterPredicate_IndexSet.

Definition at line 54 of file ProteinList_Filter.hpp.

54 {return false;}

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