15 #include <boost/shared_ptr.hpp>
34 virtual std::vector<std::size_t>
getSpectraByRT(
double RT,
double deltaRT)
const = 0;
The interface of read-access to a list of chromatograms.
Definition: openms/include/OpenMS/INTERFACES/ISpectrumAccess.h:56
virtual ~IChromatogramsReader()
Definition: openms/include/OpenMS/INTERFACES/ISpectrumAccess.h:58
virtual ChromatogramMetaPtr getChromatogramMetaById(int id) const =0
Returns the meta information for a chromatogram.
virtual std::vector< std::size_t > getChromatogramByPrecursorMZ(double mz, double deltaMZ) const =0
Return a vector of ids of chromatograms that are within mz +/- deltaMz.
virtual std::size_t getNrChromatograms() const =0
Returns the number of chromatograms available.
virtual ChromatogramPtr getChromatogramById(int id) const =0
Return a pointer to a chromatogram at the given id.
virtual ChromatogramPtr getChromatogramById(const std::string &id) const =0
Return a pointer to a chromatogram at the given string id.
Definition: openms/include/OpenMS/INTERFACES/ISpectrumAccess.h:94
virtual void appendChromatogram(ChromatogramPtr chromatogram, bool write_through=false)=0
Append a chromatogram to the end.
virtual void flush()=0
write all cached data to disk
virtual ~IChromatogramsWriter()
Definition: openms/include/OpenMS/INTERFACES/ISpectrumAccess.h:96
The interface of read-access to a list of spectra.
Definition: openms/include/OpenMS/INTERFACES/ISpectrumAccess.h:26
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.
virtual ~ISpectraReader()
Definition: openms/include/OpenMS/INTERFACES/ISpectrumAccess.h:28
virtual size_t getNrSpectra() const =0
Returns the number of spectra available.
virtual SpectrumPtr getSpectrumById(int id) const =0
Return a pointer to a spectrum at the given id.
virtual SpectrumPtr getSpectrumById(const std::string &id) const =0
Return a pointer to a spectrum at the given string id.
virtual SpectrumMetaPtr getSpectrumMetaById(int id) const =0
Returns the meta information for a spectrum.
Definition: openms/include/OpenMS/INTERFACES/ISpectrumAccess.h:82
virtual ~ISpectraWriter()
Definition: openms/include/OpenMS/INTERFACES/ISpectrumAccess.h:84
virtual void flush()=0
write all cached data to disk
virtual void appendSpectrum(SpectrumPtr spectrum, bool write_through=false)=0
Append a spectrum to the end.
boost::shared_ptr< IChromatogramsReader > ChromatogramsReaderPtr
Definition: openms/include/OpenMS/INTERFACES/ISpectrumAccess.h:78
boost::shared_ptr< ChromatogramMeta > ChromatogramMetaPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:73
boost::shared_ptr< Chromatogram > ChromatogramPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:130
boost::shared_ptr< Spectrum > SpectrumPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:210
boost::shared_ptr< IChromatogramsWriter > ChromatogramsWriterPtr
Definition: openms/include/OpenMS/INTERFACES/ISpectrumAccess.h:102
boost::shared_ptr< SpectrumMeta > SpectrumMetaPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:153
boost::shared_ptr< ISpectraReader > SpectraReaderPtr
Definition: openms/include/OpenMS/INTERFACES/ISpectrumAccess.h:49
boost::shared_ptr< ISpectraWriter > SpectraWriterPtr
Definition: openms/include/OpenMS/INTERFACES/ISpectrumAccess.h:90
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22