50 #include <boost/shared_ptr.hpp> 96 if (filename !=
"" && !skipMetaData)
237 f.setOptions(options);
boost::shared_ptr< Spectrum > SpectrumPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:236
Size getNrChromatograms() const
get the total number of chromatograms available
Definition: OnDiscMSExperiment.h:162
boost::shared_ptr< Chromatogram > ChromatogramPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:156
A more convenient string class.
Definition: String.h:57
size_t getNrSpectra() const
Returns the number of spectra available.
bool openFile(const String &filename, bool skipMetaData=false)
Open a specific file on disk.
Definition: OnDiscMSExperiment.h:92
const OpenMS::MSSpectrum getMSSpectrumById(int id)
Retrieve the raw data for the spectrum at position "id".
The representation of a chromatogram.
Definition: MSChromatogram.h:54
MSSpectrum operator[](Size n)
alias for getSpectrum
Definition: OnDiscMSExperiment.h:174
Peak1D PeakT
Definition: OnDiscMSExperiment.h:72
bool isSortedByRT() const
Checks if all spectra are sorted with respect to ascending RT.
Definition: OnDiscMSExperiment.h:138
OnDiscMSExperiment & operator=(const OnDiscMSExperiment &)
Private Assignment operator -> we cannot copy file streams in IndexedMzMLHandler. ...
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
bool operator==(const OnDiscMSExperiment &rhs) const
Equality operator.
Definition: OnDiscMSExperiment.h:118
bool getParsingSuccess() const
Returns whether parsing was successful.
Size size() const
alias for getNrSpectra
Definition: OnDiscMSExperiment.h:144
Internal::IndexedMzMLHandler indexed_mzml_file_
The index of the underlying data file.
Definition: OnDiscMSExperiment.h:247
void openFile(String filename)
Open a file.
String filename_
The filename of the underlying data file.
Definition: OnDiscMSExperiment.h:245
File adapter for MzML files.
Definition: MzMLFile.h:55
MSChromatogram getChromatogram(Size id)
returns a single chromatogram
Definition: OnDiscMSExperiment.h:204
Representation of a mass spectrometry experiment on disk.
Definition: OnDiscMSExperiment.h:68
const OpenMS::MSChromatogram getMSChromatogramById(int id)
Retrieve the raw data for the chromatogram at position "id".
The representation of a 1D spectrum.
Definition: MSSpectrum.h:66
OnDiscMSExperiment()
Constructor.
Definition: OnDiscMSExperiment.h:81
boost::shared_ptr< const ExperimentalSettings > getExperimentalSettings() const
returns the meta information of this experiment (const access)
Definition: OnDiscMSExperiment.h:168
MSExperiment PeakMap
Two-dimensional map of raw data points or peaks.
Definition: StandardTypes.h:61
MSSpectrum getSpectrum(Size id)
returns a single spectrum
Definition: OnDiscMSExperiment.h:184
OpenMS::Interfaces::SpectrumPtr getSpectrumById(Size id)
returns a single spectrum
Definition: OnDiscMSExperiment.h:194
A 1-dimensional raw data point or peak.
Definition: Peak1D.h:54
OpenMS::Interfaces::ChromatogramPtr getChromatogramById(Size id)
returns a single chromatogram
Definition: OnDiscMSExperiment.h:214
size_t getNrChromatograms() const
Returns the number of chromatograms available.
boost::shared_ptr< PeakMap > meta_ms_experiment_
The meta-data.
Definition: OnDiscMSExperiment.h:249
ChromatogramPeak ChromatogramPeakT
Definition: OnDiscMSExperiment.h:71
OpenMS::Interfaces::SpectrumPtr getSpectrumById(int id)
Retrieve the raw data for the spectrum at position "id".
OnDiscMSExperiment(const OnDiscMSExperiment &source)
Copy constructor.
Definition: OnDiscMSExperiment.h:104
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
void setSkipXMLChecks(bool skip)
Whether to skip some XML checks (removing whitespace from base64 arrays) and be fast instead...
Definition: IndexedMzMLHandler.h:218
OpenMS::OnDiscMSExperiment OnDiscPeakMap
Definition: OnDiscMSExperiment.h:252
A 1-dimensional raw data point or peak for chromatograms.
Definition: ChromatogramPeak.h:54
bool empty() const
returns whether spectra are empty
Definition: OnDiscMSExperiment.h:150
Size getNrSpectra() const
get the total number of spectra available
Definition: OnDiscMSExperiment.h:156
void loadMetaData_(const String &filename)
Definition: OnDiscMSExperiment.h:230
Options for loading files containing peak data.
Definition: PeakFileOptions.h:47
OpenMS::Interfaces::ChromatogramPtr getChromatogramById(int id)
Retrieve the raw data for the chromatogram at position "id".
void setFillData(bool only)
sets whether to fill the actual data into the container (spectrum/chromatogram)
bool operator!=(const OnDiscMSExperiment &rhs) const
Inequality operator.
Definition: OnDiscMSExperiment.h:127
Description of the experimental settings.
Definition: ExperimentalSettings.h:58
void setSkipXMLChecks(bool skip)
sets whether to skip some XML checks and be fast instead
Definition: OnDiscMSExperiment.h:220
A low-level class to read an indexedmzML file.
Definition: IndexedMzMLHandler.h:78