11 #include <OpenMS/config.h>
37 typedef std::vector< std::pair<std::string, std::streampos> >
OffsetVector;
A class to analyze indexedmzML files and extract the offsets of individual tags.
Definition: IndexedMzMLDecoder.h:33
int domParseIndexedEnd_(const std::string &in, OffsetVector &spectra_offsets, OffsetVector &chromatograms_offsets)
Extract data from a string containing an <indexList> tag.
std::streampos findIndexListOffset(const String &filename, int buffersize=1023)
Tries to extract the indexList offset from an indexedmzML.
int parseOffsets(const String &filename, std::streampos indexoffset, OffsetVector &spectra_offsets, OffsetVector &chromatograms_offsets)
Tries to extract the offsets of all spectra and chromatograms from an indexedmzML.
std::vector< std::pair< std::string, std::streampos > > OffsetVector
The vector containing binary offsets.
Definition: IndexedMzMLDecoder.h:37
A more convenient string class.
Definition: String.h:34
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22