ProteoWizard
Public Member Functions | Private Attributes | List of all members
pwiz::analysis::ChromatogramList_FilterPredicate_IndexSet Class Reference

#include <ChromatogramList_Filter.hpp>

Inheritance diagram for pwiz::analysis::ChromatogramList_FilterPredicate_IndexSet:
pwiz::analysis::ChromatogramList_Filter::Predicate

Public Member Functions

 ChromatogramList_FilterPredicate_IndexSet (const util::IntegerSet &indexSet)
 
virtual boost::logic::tribool accept (const msdata::ChromatogramIdentity &chromatogramIdentity) const
 return values: true: accept the Chromatogram false: reject the Chromatogram indeterminate: need to see the full Chromatogram object to decide
 
virtual bool done () const
 return true iff done accepting chromatograms; this allows early termination of the iteration through the original ChromatogramList, possibly using assumptions about the order of the iteration (e.g.
 
- Public Member Functions inherited from pwiz::analysis::ChromatogramList_Filter::Predicate
virtual bool suggestedDetailLevel () const
 can be overridden in subclasses that know they will need a certain detail level; it must be overridden to return DetailLevel_FullData if binary data is needed
 
virtual boost::logic::tribool accept (const msdata::Chromatogram &chromatogram) const
 return true iff Chromatogram is accepted
 
virtual ~Predicate ()
 

Private Attributes

util::IntegerSet indexSet_
 
bool eos_
 

Detailed Description

Definition at line 89 of file ChromatogramList_Filter.hpp.

Constructor & Destructor Documentation

◆ ChromatogramList_FilterPredicate_IndexSet()

pwiz::analysis::ChromatogramList_FilterPredicate_IndexSet::ChromatogramList_FilterPredicate_IndexSet ( const util::IntegerSet indexSet)

Member Function Documentation

◆ accept()

virtual boost::logic::tribool pwiz::analysis::ChromatogramList_FilterPredicate_IndexSet::accept ( const msdata::ChromatogramIdentity chromatogramIdentity) const
virtual

return values: true: accept the Chromatogram false: reject the Chromatogram indeterminate: need to see the full Chromatogram object to decide

Implements pwiz::analysis::ChromatogramList_Filter::Predicate.

◆ done()

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

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

index is increasing, nativeID interpreted as scan number is increasing, ...)

Reimplemented from pwiz::analysis::ChromatogramList_Filter::Predicate.

Member Data Documentation

◆ indexSet_

util::IntegerSet pwiz::analysis::ChromatogramList_FilterPredicate_IndexSet::indexSet_
private

Definition at line 97 of file ChromatogramList_Filter.hpp.

◆ eos_

bool pwiz::analysis::ChromatogramList_FilterPredicate_IndexSet::eos_
mutableprivate

Definition at line 98 of file ChromatogramList_Filter.hpp.


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