ProteoWizard
Public Member Functions
MyBase Class Reference
Inheritance diagram for MyBase:
pwiz::msdata::SpectrumListBase pwiz::msdata::ChromatogramListBase pwiz::msdata::SpectrumList pwiz::msdata::ChromatogramList

List of all members.

Public Member Functions

virtual size_t size () const
 returns the number of spectra
virtual const
ChromatogramIdentity
chromatogramIdentity (size_t index) const
 access to a chromatogram index
virtual ChromatogramPtr chromatogram (size_t index, bool getBinaryData=false) const
 retrieve a chromatogram by index
virtual size_t size () const
 returns the number of spectra
virtual const SpectrumIdentityspectrumIdentity (size_t index) const
 access to a spectrum index
virtual SpectrumPtr spectrum (size_t index, bool getBinaryData=false) const
 retrieve a spectrum by index
virtual const
boost::shared_ptr< const
DataProcessing
dataProcessingPtr () const
 implementation of ChromatogramList
- Public Member Functions inherited from pwiz::msdata::SpectrumListBase
virtual void setDataProcessingPtr (DataProcessingPtr dp)
 set DataProcessing
- Public Member Functions inherited from pwiz::msdata::SpectrumList
virtual bool empty () const
 returns true iff (size() == 0) and (dataProcessingPtr.get() == NULL)
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 (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 ()
- Public Member Functions inherited from pwiz::msdata::ChromatogramListBase
virtual void setDataProcessingPtr (DataProcessingPtr dp)
 set DataProcessing
- Public Member Functions inherited from pwiz::msdata::ChromatogramList
bool empty () const
 returns true iff (size() == 0) and (dataProcessingPtr.get() == NULL)
virtual size_t find (const std::string &id) const
 find id in the chromatogram index (returns size() on failure)
virtual ~ChromatogramList ()

Additional Inherited Members

- Protected Attributes inherited from pwiz::msdata::SpectrumListBase
DataProcessingPtr dp_
- Protected Attributes inherited from pwiz::msdata::ChromatogramListBase
DataProcessingPtr dp_

Detailed Description

Definition at line 32 of file ChromatogramListBaseTest.cpp.


Member Function Documentation

virtual size_t MyBase::size ( ) const
inlinevirtual

returns the number of spectra

Implements pwiz::msdata::SpectrumList.

Definition at line 35 of file ChromatogramListBaseTest.cpp.

{return 0;}
virtual const ChromatogramIdentity& MyBase::chromatogramIdentity ( size_t  index) const
inlinevirtual

access to a chromatogram index

Implements pwiz::msdata::ChromatogramList.

Definition at line 36 of file ChromatogramListBaseTest.cpp.

{throw runtime_error("heh");}
virtual ChromatogramPtr MyBase::chromatogram ( size_t  index,
bool  getBinaryData = false 
) const
inlinevirtual

retrieve a chromatogram by index

  • binary data arrays will be provided if (getBinaryData == true);
  • client may assume the underlying Chromatogram* is valid

Implements pwiz::msdata::ChromatogramList.

Definition at line 37 of file ChromatogramListBaseTest.cpp.

{return ChromatogramPtr();}
virtual size_t MyBase::size ( ) const
inlinevirtual

returns the number of spectra

Implements pwiz::msdata::SpectrumList.

Definition at line 35 of file SpectrumListBaseTest.cpp.

{return 0;}
virtual const SpectrumIdentity& MyBase::spectrumIdentity ( size_t  index) const
inlinevirtual

access to a spectrum index

Implements pwiz::msdata::SpectrumList.

Definition at line 36 of file SpectrumListBaseTest.cpp.

{throw runtime_error("heh");}
virtual SpectrumPtr MyBase::spectrum ( size_t  index,
bool  getBinaryData = false 
) const
inlinevirtual

retrieve a spectrum by index

  • binary data arrays will be provided if (getBinaryData == true);
  • client may assume the underlying Spectrum* is valid

Implements pwiz::msdata::SpectrumList.

Definition at line 37 of file SpectrumListBaseTest.cpp.

{return SpectrumPtr();}
virtual const boost::shared_ptr<const DataProcessing> MyBase::dataProcessingPtr ( ) const
inlinevirtual

implementation of ChromatogramList

Reimplemented from pwiz::msdata::ChromatogramListBase.

Definition at line 40 of file SpectrumListBaseTest.cpp.

Referenced by test().

{return dp_;}

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