83 return meta_ms_experiment_;
An class that uses on-disk caching to read and write spectra and chromatograms.
Definition: CachedMzML.h:54
MSSpectrum getSpectrum(Size id)
String filename_cached_
Name of the cached mzML file.
Definition: CachedMzML.h:121
CachedmzML()
Default constructor.
void load_(const String &filename)
size_t getNrSpectra() const
std::ifstream ifs_
Internal filestream.
Definition: CachedMzML.h:115
String filename_
Name of the mzML file.
Definition: CachedMzML.h:118
CachedmzML(const CachedmzML &rhs)
Copy constructor.
std::vector< std::streampos > chrom_index_
Definition: CachedMzML.h:125
CachedmzML(const String &filename)
MSChromatogram getChromatogram(Size id)
std::vector< std::streampos > spectra_index_
Indices.
Definition: CachedMzML.h:124
MSExperiment meta_ms_experiment_
Meta data.
Definition: CachedMzML.h:112
static void store(const String &filename, const PeakMap &map)
Stores a map in a cached MzML file.
const MSExperiment & getMetaData() const
Definition: CachedMzML.h:81
size_t getNrChromatograms() const
static void load(const String &filename, CachedmzML &map)
Loads a map from a cached MzML file.
~CachedmzML()
Default destructor.
The representation of a chromatogram.
Definition: MSChromatogram.h:58
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:80
The representation of a 1D spectrum.
Definition: MSSpectrum.h:71
A more convenient string class.
Definition: String.h:61
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47