35 #ifndef OPENMS_FORMAT_INDEXEDMZMLFILE_H
36 #define OPENMS_FORMAT_INDEXEDMZMLFILE_H
93 void parseFooter_(
String filename);
120 void openFile(
String filename);
131 bool getParsingSuccess()
const;
134 size_t getNrSpectra()
const;
137 size_t getNrChromatograms()
const;
boost::shared_ptr< Spectrum > SpectrumPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:237
bool parsing_success_
Whether parsing the indexedmzML file was successful.
Definition: IndexedMzMLFile.h:85
boost::shared_ptr< Chromatogram > ChromatogramPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:157
A more convenient string class.
Definition: String.h:57
bool spectra_before_chroms_
Whether spectra are written before chromatograms in this file.
Definition: IndexedMzMLFile.h:81
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
A class to read an indexedmzML file.
Definition: IndexedMzMLFile.h:70
std::streampos index_offset_
offset to the element
Definition: IndexedMzMLFile.h:79
std::ifstream filestream_
The current filestream (opened by openFile)
Definition: IndexedMzMLFile.h:83
std::vector< std::pair< std::string, std::streampos > > spectra_offsets_
Binary offsets to all spectra.
Definition: IndexedMzMLFile.h:75
std::vector< std::pair< std::string, std::streampos > > chromatograms_offsets_
Binary offsets to all chromatograms.
Definition: IndexedMzMLFile.h:77
IndexedMzMLFile()
Constructor.
Definition: IndexedMzMLFile.h:100
String filename_
Name of the file.
Definition: IndexedMzMLFile.h:73