|
ProteoWizard
|
#include <SpectrumList_Filter.hpp>
Public Member Functions | |
| SpectrumList_FilterPredicate_IndexSet (const util::IntegerSet &indexSet) | |
| virtual boost::logic::tribool | accept (const msdata::SpectrumIdentity &spectrumIdentity) const |
| return values: true: accept the Spectrum false: reject the Spectrum indeterminate: need to see the full Spectrum object to decide More... | |
| virtual bool | done () const |
| return true iff done accepting spectra; this allows early termination of the iteration through the original SpectrumList, possibly using assumptions about the order of the iteration (e.g. More... | |
| virtual std::string | describe () const |
| return a string describing how the predicate filters More... | |
Public Member Functions inherited from pwiz::analysis::SpectrumList_Filter::Predicate | |
| virtual msdata::DetailLevel | 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 More... | |
| virtual boost::logic::tribool | accept (const msdata::Spectrum &spectrum) const |
| return true iff Spectrum is accepted More... | |
| virtual | ~Predicate () |
Private Attributes | |
| util::IntegerSet | indexSet_ |
| bool | eos_ |
Additional Inherited Members | |
Public Types inherited from pwiz::analysis::SpectrumList_Filter::Predicate | |
| enum | FilterMode { FilterMode_Include, FilterMode_Exclude } |
| controls whether spectra that pass the predicate are included or excluded from the result More... | |
Definition at line 107 of file SpectrumList_Filter.hpp.
| pwiz::analysis::SpectrumList_FilterPredicate_IndexSet::SpectrumList_FilterPredicate_IndexSet | ( | const util::IntegerSet & | indexSet | ) |
|
virtual |
return values: true: accept the Spectrum false: reject the Spectrum indeterminate: need to see the full Spectrum object to decide
Implements pwiz::analysis::SpectrumList_Filter::Predicate.
|
virtual |
return true iff done accepting spectra; this allows early termination of the iteration through the original SpectrumList, 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::SpectrumList_Filter::Predicate.
|
inlinevirtual |
return a string describing how the predicate filters
Implements pwiz::analysis::SpectrumList_Filter::Predicate.
Definition at line 113 of file SpectrumList_Filter.hpp.
|
private |
Definition at line 116 of file SpectrumList_Filter.hpp.
|
mutableprivate |
Definition at line 117 of file SpectrumList_Filter.hpp.