11 #include <OpenMS/config.h>
20 #include <xercesc/dom/DOMNode.hpp>
94 std::string
domParseString_(
const std::string& in, std::vector<BinaryData>& data);
99 skip_xml_checks_(skip_xml_checks)
The representation of a chromatogram.
Definition: MSChromatogram.h:30
The representation of a 1D spectrum.
Definition: MSSpectrum.h:44
A class to decode input strings that contain an mzML chromatogram or spectrum tag.
Definition: MzMLSpectrumDecoder.h:40
OpenMS::Interfaces::ChromatogramPtr decodeBinaryDataChrom_(std::vector< BinaryData > &data) const
decode binary data
void domParseChromatogram(const std::string &in, MSChromatogram &c)
Extract data from a string which contains a full mzML chromatogram.
MzMLSpectrumDecoder(bool skip_xml_checks=false)
Definition: MzMLSpectrumDecoder.h:98
std::string domParseString_(const std::string &in, std::vector< BinaryData > &data)
Extract data from a string containing multiple <binaryDataArray> tags.
Internal::MzMLHandlerHelper::BinaryData BinaryData
Definition: MzMLSpectrumDecoder.h:45
void domParseSpectrum(const std::string &in, OpenMS::Interfaces::SpectrumPtr &sptr)
Extract data from a string which contains a full mzML spectrum.
OpenMS::Interfaces::SpectrumPtr decodeBinaryDataSpectrum_(std::vector< BinaryData > &data) const
decode binary data
void decodeBinaryDataMSChrom_(std::vector< BinaryData > &data, OpenMS::MSChromatogram &c) const
void handleBinaryDataArray_(xercesc::DOMNode *indexListNode, std::vector< BinaryData > &data)
Convert a single DOMNode of type binaryDataArray to BinaryData object.
void setSkipXMLChecks(bool only)
Whether to skip some XML checks (e.g. removing whitespace inside base64 arrays) and be fast instead.
void decodeBinaryDataMSSpectrum_(std::vector< BinaryData > &data, OpenMS::MSSpectrum &s) const
void domParseSpectrum(const std::string &in, MSSpectrum &s)
Extract data from a string which contains a full mzML spectrum.
bool skip_xml_checks_
Whether to skip some XML checks (e.g. removing whitespace inside base64 arrays) and be fast instead.
Definition: MzMLSpectrumDecoder.h:43
void domParseChromatogram(const std::string &in, OpenMS::Interfaces::ChromatogramPtr &cptr)
Extract data from a string which contains a full mzML chromatogram.
const double c
Definition: Constants.h:188
boost::shared_ptr< Chromatogram > ChromatogramPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:130
boost::shared_ptr< Spectrum > SpectrumPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:210
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
Representation for binary data in mzML.
Definition: MzMLHandlerHelper.h:44