41 #include <boost/shared_ptr.hpp> 56 virtual SpectrumPtr getSpectrumById(
int id)
const = 0;
58 virtual SpectrumPtr getSpectrumById(
const std::string&
id)
const = 0;
60 virtual std::vector<std::size_t> getSpectraByRT(
double RT,
double deltaRT)
const = 0;
62 virtual size_t getNrSpectra()
const = 0;
88 virtual ChromatogramPtr getChromatogramById(
const std::string&
id)
const = 0;
90 virtual std::vector<std::size_t> getChromatogramByPrecursorMZ(
double mz,
double deltaMZ)
const = 0;
92 virtual std::size_t getNrChromatograms()
const = 0;
112 virtual void appendSpectrum(
SpectrumPtr spectrum,
bool write_through=
false) = 0;
114 virtual void flush() = 0;
124 virtual void appendChromatogram(
ChromatogramPtr chromatogram,
bool write_through=
false) = 0;
126 virtual void flush() = 0;
boost::shared_ptr< Spectrum > SpectrumPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:236
boost::shared_ptr< Chromatogram > ChromatogramPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:156
boost::shared_ptr< IChromatogramsReader > ChromatogramsReaderPtr
Definition: openms/include/OpenMS/INTERFACES/ISpectrumAccess.h:104
Definition: openms/include/OpenMS/INTERFACES/ISpectrumAccess.h:119
boost::shared_ptr< IChromatogramsWriter > ChromatogramsWriterPtr
Definition: openms/include/OpenMS/INTERFACES/ISpectrumAccess.h:128
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
boost::shared_ptr< ISpectraWriter > SpectraWriterPtr
Definition: openms/include/OpenMS/INTERFACES/ISpectrumAccess.h:116
Definition: openms/include/OpenMS/INTERFACES/ISpectrumAccess.h:107
The interface of read-access to a list of chromatograms.
Definition: openms/include/OpenMS/INTERFACES/ISpectrumAccess.h:81
virtual ~IChromatogramsWriter()
Definition: openms/include/OpenMS/INTERFACES/ISpectrumAccess.h:122
virtual ~ISpectraReader()
Definition: openms/include/OpenMS/INTERFACES/ISpectrumAccess.h:54
boost::shared_ptr< ChromatogramMeta > ChromatogramMetaPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:99
boost::shared_ptr< SpectrumMeta > SpectrumMetaPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:179
virtual ~IChromatogramsReader()
Definition: openms/include/OpenMS/INTERFACES/ISpectrumAccess.h:84
virtual ~ISpectraWriter()
Definition: openms/include/OpenMS/INTERFACES/ISpectrumAccess.h:110
boost::shared_ptr< ISpectraReader > SpectraReaderPtr
Definition: openms/include/OpenMS/INTERFACES/ISpectrumAccess.h:75
The interface of read-access to a list of spectra.
Definition: openms/include/OpenMS/INTERFACES/ISpectrumAccess.h:51