ProteoWizard
Public Member Functions
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

List of all members.

Public Member Functions

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.
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

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

Definition at line 56 of file ProteinList_Filter.hpp.

{}

Member Function Documentation

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.

{return false;}
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.

{return false;}

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