41 #include <boost/shared_ptr.hpp>
60 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:82
virtual ~IChromatogramsReader()
Definition: openms/include/OpenMS/INTERFACES/ISpectrumAccess.h:84
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:120
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:122
The interface of read-access to a list of spectra.
Definition: openms/include/OpenMS/INTERFACES/ISpectrumAccess.h:52
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:54
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:108
virtual ~ISpectraWriter()
Definition: openms/include/OpenMS/INTERFACES/ISpectrumAccess.h:110
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:104
boost::shared_ptr< ChromatogramMeta > ChromatogramMetaPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:99
boost::shared_ptr< Chromatogram > ChromatogramPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:156
boost::shared_ptr< Spectrum > SpectrumPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:236
boost::shared_ptr< IChromatogramsWriter > ChromatogramsWriterPtr
Definition: openms/include/OpenMS/INTERFACES/ISpectrumAccess.h:128
boost::shared_ptr< SpectrumMeta > SpectrumMetaPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:179
boost::shared_ptr< ISpectraReader > SpectraReaderPtr
Definition: openms/include/OpenMS/INTERFACES/ISpectrumAccess.h:75
boost::shared_ptr< ISpectraWriter > SpectraWriterPtr
Definition: openms/include/OpenMS/INTERFACES/ISpectrumAccess.h:116
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48