|
ProteoWizard
|
SpectrumList filter, for creating Spectrum sub-lists. More...
#include <SpectrumList_Filter.hpp>
Classes | |
| struct | Predicate |
| client-implemented filter predicate – called during construction of SpectrumList_Filter to create the filtered list of spectra More... | |
Public Member Functions | |
| SpectrumList_Filter (const msdata::SpectrumListPtr original, const Predicate &predicate, pwiz::util::IterationListenerRegistry *ilr=0) | |
Public Member Functions inherited from pwiz::msdata::SpectrumListWrapper | |
| SpectrumListWrapper (const SpectrumListPtr &inner) | |
| virtual bool | empty () const |
| returns true iff (size() == 0) and (dataProcessingPtr.get() == NULL) | |
| virtual const boost::shared_ptr< const DataProcessing > | dataProcessingPtr () const |
| returns the data processing affecting spectra retrieved through this interface | |
| SpectrumListPtr | inner () const |
| SpectrumListPtr | innermost () const |
Public Member Functions inherited from pwiz::msdata::SpectrumList | |
| virtual size_t | find (const std::string &id) const |
| find id in the spectrum index (returns size() on failure) | |
| virtual size_t | findAbbreviated (const std::string &abbreviatedId, char delimiter='.') const |
| find an abbreviated id (e.g. "1.1.123.2" for "sample=1 period=1 cycle=123 experiment=2") in the spectrum index (returns size() on failure) | |
| virtual IndexList | findNameValue (const std::string &name, const std::string &value) const |
| find all spectrum indexes with specified name/value pair | |
| virtual IndexList | findSpotID (const std::string &spotID) const |
| find all spectrum indexes with spotID (returns empty vector on failure) | |
| virtual SpectrumPtr | spectrum (const SpectrumPtr &seed, bool getBinaryData) const |
| get a copy of the seed spectrum, optionally with its binary data populated this is useful for formats like mzML that can delay loading of binary data | |
| virtual void | warn_once (const char *msg) const |
| issues a warning once per SpectrumList instance (based on string hash) | |
| virtual | ~SpectrumList () |
SpectrumList interface | |
| boost::shared_ptr< Impl > | impl_ |
| virtual size_t | size () const |
| returns the number of spectra | |
| virtual const msdata::SpectrumIdentity & | spectrumIdentity (size_t index) const |
| access to a spectrum index | |
| virtual msdata::SpectrumPtr | spectrum (size_t index, bool getBinaryData=false) const |
| retrieve a spectrum by index | |
| virtual msdata::SpectrumPtr | spectrum (size_t index, msdata::DetailLevel detailLevel) const |
| retrieve a spectrum by index | |
| SpectrumList_Filter (SpectrumList_Filter &) | |
| SpectrumList_Filter & | operator= (SpectrumList_Filter &) |
Additional Inherited Members | |
Protected Attributes inherited from pwiz::msdata::SpectrumListWrapper | |
| SpectrumListPtr | inner_ |
| DataProcessingPtr | dp_ |
SpectrumList filter, for creating Spectrum sub-lists.
Definition at line 44 of file SpectrumList_Filter.hpp.
| pwiz::analysis::SpectrumList_Filter::SpectrumList_Filter | ( | const msdata::SpectrumListPtr | original, |
| const Predicate & | predicate, | ||
| pwiz::util::IterationListenerRegistry * | ilr = 0 |
||
| ) |
|
private |
|
virtual |
returns the number of spectra
Reimplemented from pwiz::msdata::SpectrumListWrapper.
Referenced by testMassAnalyzerFilter(), testMS2Activation(), testMZPresentFilter(), and testThermoFilterFilter().
|
virtual |
access to a spectrum index
Reimplemented from pwiz::msdata::SpectrumListWrapper.
Referenced by testMassAnalyzerFilter(), testMS2Activation(), testMZPresentFilter(), and testThermoFilterFilter().
|
virtual |
retrieve a spectrum by index
Implements pwiz::msdata::SpectrumListWrapper.
|
virtual |
retrieve a spectrum by index
Reimplemented from pwiz::msdata::SpectrumListWrapper.
|
private |
|
private |
Definition at line 97 of file SpectrumList_Filter.hpp.