35 #ifndef OPENMS_FORMAT_INDEXEDMZMLFILE_H
36 #define OPENMS_FORMAT_INDEXEDMZMLFILE_H
95 void parseFooter_(
String filename);
122 void openFile(
String filename);
133 bool getParsingSuccess()
const;
136 size_t getNrSpectra()
const;
139 size_t getNrChromatograms()
const;
164 skip_xml_checks_ = skip;
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
void setSkipXMLChecks(bool skip)
sets whether to skip some XML checks and be fast instead
Definition: IndexedMzMLFile.h:162
boost::shared_ptr< Chromatogram > ChromatogramPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:157
A more convenient string class.
Definition: String.h:57
bool skip_xml_checks_
Definition: IndexedMzMLFile.h:87
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:102
String filename_
Name of the file.
Definition: IndexedMzMLFile.h:73