35 #ifndef OPENMS_FORMAT_INDEXEDMZMLFILE_H 36 #define OPENMS_FORMAT_INDEXEDMZMLFILE_H 38 #include <OpenMS/config.h> 101 void parseFooter_(
String filename);
128 void openFile(
String filename);
139 bool getParsingSuccess()
const;
142 size_t getNrSpectra()
const;
145 size_t getNrChromatograms()
const;
170 skip_xml_checks_ = skip;
176 #endif // OPENMS_FORMAT_INDEXEDMZMLFILE_H 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:89
void setSkipXMLChecks(bool skip)
Whether to skip some XML checks (removing whitespace from base64 arrays) and be fast instead...
Definition: IndexedMzMLFile.h:168
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_
Whether to skip XML checks.
Definition: IndexedMzMLFile.h:91
bool spectra_before_chroms_
Whether spectra are written before chromatograms in this file.
Definition: IndexedMzMLFile.h:85
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
A low-level class to read an indexedmzML file.
Definition: IndexedMzMLFile.h:74
std::streampos index_offset_
offset to the <indexList> element
Definition: IndexedMzMLFile.h:83
std::ifstream filestream_
The current filestream (opened by openFile)
Definition: IndexedMzMLFile.h:87
std::vector< std::pair< std::string, std::streampos > > spectra_offsets_
Binary offsets to all spectra.
Definition: IndexedMzMLFile.h:79
std::vector< std::pair< std::string, std::streampos > > chromatograms_offsets_
Binary offsets to all chromatograms.
Definition: IndexedMzMLFile.h:81
String filename_
Name of the file.
Definition: IndexedMzMLFile.h:77