OpenMS
2.4.0
|
The interface of read-access to a list of spectra. More...
#include <OpenMS/INTERFACES/ISpectrumAccess.h>
Public Member Functions | |
virtual | ~ISpectraReader () |
virtual SpectrumPtr | getSpectrumById (int id) const =0 |
Return a pointer to a spectrum at the given id. More... | |
virtual SpectrumPtr | getSpectrumById (const std::string &id) const =0 |
Return a pointer to a spectrum at the given string 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 SpectrumMetaPtr | getSpectrumMetaById (int id) const =0 |
Returns the meta information for a spectrum. More... | |
The interface of read-access to a list of spectra.
|
inlinevirtual |
|
pure virtual |
Returns the number of spectra available.
Return a vector of ids of spectra that are within RT +/- deltaRT.
|
pure virtual |
Return a pointer to a spectrum at the given id.
|
pure virtual |
Return a pointer to a spectrum at the given string id.
|
pure virtual |
Returns the meta information for a spectrum.