The interface of a mass spectrometry experiment. More...
#include <OpenMS/ANALYSIS/OPENSWATH/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h>
Public Member Functions | |
virtual | ~ISpectrumAccess () |
Destructor. More... | |
virtual boost::shared_ptr< ISpectrumAccess > | lightClone () const =0 |
Light clone operator to produce a copy for concurrent read access. More... | |
virtual SpectrumPtr | getSpectrumById (int id)=0 |
Return a pointer to a spectrum at the given id. More... | |
virtual std::vector< std::size_t > | getSpectraByRT (double RT, double deltaRT) const =0 |
Return a vector of ids of spectra that are within RT +/- deltaRT. More... | |
virtual size_t | getNrSpectra () const =0 |
Returns the number of spectra available. More... | |
virtual SpectrumMeta | getSpectrumMetaById (int id) const =0 |
Returns the meta information for a spectrum. More... | |
virtual ChromatogramPtr | getChromatogramById (int id)=0 |
Return a pointer to a chromatogram at the given id. More... | |
virtual std::size_t | getNrChromatograms () const =0 |
Returns the number of chromatograms available. More... | |
virtual std::string | getChromatogramNativeID (int id) const =0 |
Returns the native id of the chromatogram at the given id. More... | |
The interface of a mass spectrometry experiment.
|
virtual |
Destructor.
|
pure virtual |
Return a pointer to a chromatogram at the given id.
Implemented in SpectrumAccessOpenMSCached, SpectrumAccessOpenMSInMemory, SpectrumAccessOpenMS, and SpectrumAccessTransforming.
|
pure virtual |
Returns the native id of the chromatogram at the given id.
Implemented in SpectrumAccessOpenMSCached, SpectrumAccessOpenMSInMemory, SpectrumAccessOpenMS, and SpectrumAccessTransforming.
|
pure virtual |
Returns the number of chromatograms available.
Implemented in SpectrumAccessOpenMSCached, SpectrumAccessOpenMSInMemory, SpectrumAccessOpenMS, and SpectrumAccessTransforming.
|
pure virtual |
Returns the number of spectra available.
Implemented in SpectrumAccessOpenMSInMemory, SpectrumAccessOpenMSCached, SpectrumAccessOpenMS, and SpectrumAccessTransforming.
Return a vector of ids of spectra that are within RT +/- deltaRT.
Implemented in SpectrumAccessOpenMSInMemory, SpectrumAccessOpenMSCached, SpectrumAccessOpenMS, and SpectrumAccessTransforming.
|
pure virtual |
Return a pointer to a spectrum at the given id.
Implemented in SpectrumAccessOpenMSInMemory, SpectrumAccessOpenMSCached, SpectrumAccessOpenMS, SpectrumAccessQuadMZTransforming, and SpectrumAccessTransforming.
|
pure virtual |
Returns the meta information for a spectrum.
Implemented in SpectrumAccessOpenMSInMemory, SpectrumAccessOpenMSCached, SpectrumAccessOpenMS, and SpectrumAccessTransforming.
|
pure virtual |
Light clone operator to produce a copy for concurrent read access.
This function guarantees to produce a copy of the underlying object that provides thread-safe concurrent read access to the underlying data. It should be implemented with minimal copy-overhead to make this operation as fast as possible.
To use this function, each thread should call this function to produce an individual copy on which it can operate.
Implemented in SpectrumAccessOpenMSInMemory, SpectrumAccessOpenMSCached, SpectrumAccessOpenMS, SpectrumAccessQuadMZTransforming, and SpectrumAccessTransforming.
OpenMS / TOPP release 2.3.0 | Documentation generated on Tue Jan 9 2018 18:22:15 using doxygen 1.8.13 |