Static Public Member Functions
pwiz::msdata::SpectrumList_MSn Class Reference

implementation of SpectrumList, backed by an MGF file More...

#include <SpectrumList_MSn.hpp>

Inheritance diagram for pwiz::msdata::SpectrumList_MSn:
pwiz::msdata::SpectrumListBase pwiz::msdata::SpectrumList

List of all members.

Static Public Member Functions

static SpectrumListPtr create (boost::shared_ptr< std::istream > is, const MSData &msd, MSn_Type filetype)

Additional Inherited Members

- Public Member Functions inherited from pwiz::msdata::SpectrumListBase
virtual const
boost::shared_ptr< const
dataProcessingPtr () const
 implementation of SpectrumList
virtual void setDataProcessingPtr (DataProcessingPtr dp)
 set DataProcessing
- Public Member Functions inherited from pwiz::msdata::SpectrumList
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 SpectrumIdentityspectrumIdentity (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 ()
- Protected Attributes inherited from pwiz::msdata::SpectrumListBase
DataProcessingPtr dp_

Detailed Description

implementation of SpectrumList, backed by an MGF file

Definition at line 53 of file SpectrumList_MSn.hpp.

Member Function Documentation

static SpectrumListPtr pwiz::msdata::SpectrumList_MSn::create ( boost::shared_ptr< std::istream >  is,
const MSData msd,
MSn_Type  filetype 

Referenced by main().

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