37 #include <OpenMS/config.h> 105 void parseFooter_(
String filename);
107 std::string getChromatogramById_helper_(
int id);
109 std::string getSpectrumById_helper_(
int id);
136 void openFile(
String filename);
147 bool getParsingSuccess()
const;
150 size_t getNrSpectra()
const;
153 size_t getNrChromatograms()
const;
220 skip_xml_checks_ = skip;
boost::shared_ptr< Spectrum > SpectrumPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:236
boost::shared_ptr< Chromatogram > ChromatogramPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:156
A more convenient string class.
Definition: String.h:57
bool skip_xml_checks_
Whether to skip XML checks.
Definition: IndexedMzMLHandler.h:95
The representation of a chromatogram.
Definition: MSChromatogram.h:54
bool parsing_success_
Whether parsing the indexedmzML file was successful.
Definition: IndexedMzMLHandler.h:93
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
std::vector< std::pair< std::string, std::streampos > > chromatograms_offsets_
Binary offsets to all chromatograms.
Definition: IndexedMzMLHandler.h:85
The representation of a 1D spectrum.
Definition: MSSpectrum.h:66
std::streampos index_offset_
offset to the <indexList> element
Definition: IndexedMzMLHandler.h:87
String filename_
Name of the file.
Definition: IndexedMzMLHandler.h:81
void setSkipXMLChecks(bool skip)
Whether to skip some XML checks (removing whitespace from base64 arrays) and be fast instead...
Definition: IndexedMzMLHandler.h:218
std::vector< std::pair< std::string, std::streampos > > spectra_offsets_
Binary offsets to all spectra.
Definition: IndexedMzMLHandler.h:83
bool spectra_before_chroms_
Whether spectra are written before chromatograms in this file.
Definition: IndexedMzMLHandler.h:89
A low-level class to read an indexedmzML file.
Definition: IndexedMzMLHandler.h:78
std::ifstream filestream_
The current filestream (opened by openFile)
Definition: IndexedMzMLHandler.h:91