Public Member Functions | Protected Attributes
pwiz::msdata::SpectrumListBase Class Reference

common functionality for base SpectrumList implementations More...

#include <SpectrumListBase.hpp>

Inheritance diagram for pwiz::msdata::SpectrumListBase:
pwiz::msdata::SpectrumList MyBase pwiz::msdata::detail::SpectrumList_ABI pwiz::msdata::detail::SpectrumList_ABI_T2D pwiz::msdata::detail::SpectrumList_Agilent pwiz::msdata::detail::SpectrumList_Bruker pwiz::msdata::detail::SpectrumList_Thermo pwiz::msdata::detail::SpectrumList_Waters pwiz::msdata::SpectrumList_BTDX pwiz::msdata::SpectrumList_MGF pwiz::msdata::SpectrumList_MSn pwiz::msdata::SpectrumList_mz5 pwiz::msdata::SpectrumList_mzML pwiz::msdata::SpectrumList_mzXML

List of all members.

Public Member Functions

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

DataProcessingPtr dp_

Detailed Description

common functionality for base SpectrumList implementations

Definition at line 37 of file SpectrumListBase.hpp.

Member Function Documentation

virtual const boost::shared_ptr<const DataProcessing> pwiz::msdata::SpectrumListBase::dataProcessingPtr ( ) const

implementation of SpectrumList

Reimplemented from pwiz::msdata::SpectrumList.

Reimplemented in MyBase.

Definition at line 42 of file SpectrumListBase.hpp.

{return dp_;}
virtual void pwiz::msdata::SpectrumListBase::setDataProcessingPtr ( DataProcessingPtr  dp)

set DataProcessing

Definition at line 45 of file SpectrumListBase.hpp.

Referenced by hackInMemoryMSData(), and test().

{dp_ = dp;}

Member Data Documentation

DataProcessingPtr pwiz::msdata::SpectrumListBase::dp_

Definition at line 49 of file SpectrumListBase.hpp.

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