37 #include <OpenMS/config.h>
63 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:59
int parseOffsets(String filename, std::streampos indexoffset, OffsetVector &spectra_offsets, OffsetVector &chromatograms_offsets)
Tries to extract the offsets of all spectra and chromatograms from an indexedmzML.
int domParseIndexedEnd_(std::string in, OffsetVector &spectra_offsets, OffsetVector &chromatograms_offsets)
Extract data from a string containing an <indexList> tag.
std::vector< std::pair< std::string, std::streampos > > OffsetVector
The vector containing binary offsets.
Definition: IndexedMzMLDecoder.h:63
std::streampos findIndexListOffset(String filename, int buffersize=1023)
Tries to extract the indexList offset from an indexedmzML.
A more convenient string class.
Definition: String.h:60
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47