ProteoWizard
|
implementation of SpectrumList, backed by an MGF file More...
#include <SpectrumList_MSn.hpp>
Static Public Member Functions | |
static SpectrumListPtr | create (boost::shared_ptr< std::istream > is, const MSData &msd, MSn_Type filetype) |
Additional Inherited Members | |
![]() | |
virtual const boost::shared_ptr< const DataProcessing > | dataProcessingPtr () const |
implementation of SpectrumList | |
virtual void | setDataProcessingPtr (DataProcessingPtr dp) |
set DataProcessing | |
![]() | |
virtual size_t | size () const =0 |
returns the number of spectra | |
virtual bool | empty () const |
returns true iff (size() == 0) and (dataProcessingPtr.get() == NULL) | |
virtual const SpectrumIdentity & | spectrumIdentity (size_t index) const =0 |
access to a spectrum index | |
virtual size_t | find (const std::string &id) const |
find id 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 (size_t index, bool getBinaryData=false) const =0 |
retrieve a spectrum by index | |
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 SpectrumPtr | spectrum (size_t index, DetailLevel detailLevel) const |
retrieve a spectrum by index | |
virtual | ~SpectrumList () |
![]() | |
DataProcessingPtr | dp_ |
implementation of SpectrumList, backed by an MGF file
Definition at line 53 of file SpectrumList_MSn.hpp.
|
static |
Referenced by main().