33 #include "boost/iostreams/positioning.hpp"
146 PWIZ_API_DECL void read(std::istream& is,
Precursor& precursor,
const std::map<std::string,std::string>* legacyIdRefToNativeId = 0);
177 void write(minimxml::XMLWriter& writer,
const Spectrum& spectrum,
const MSData& msd,
178 const BinaryDataEncoder::Config& config = BinaryDataEncoder::Config());
180 void read(std::istream& is, Spectrum& spectrum,
183 const std::map<std::string,std::string>* legacyIdRefToNativeId = 0,
184 const MSData* msd = 0,
185 const SpectrumIdentityFromXML *
id = 0);
189 void write(minimxml::XMLWriter& writer,
const Chromatogram& chromatogram,
190 const BinaryDataEncoder::Config& config = BinaryDataEncoder::Config());
192 void read(std::istream& is, Chromatogram& chromatogram,
197 void write(minimxml::XMLWriter& writer,
const SpectrumList& spectrumList,
const MSData& msd,
198 const BinaryDataEncoder::Config& config = BinaryDataEncoder::Config(),
199 std::vector<boost::iostreams::stream_offset>* spectrumPositions = 0,
201 PWIZ_API_DECL void read(std::istream& is, SpectrumListSimple& spectrumListSimple);
205 void write(minimxml::XMLWriter& writer,
const ChromatogramList& chromatogramList,
206 const BinaryDataEncoder::Config& config = BinaryDataEncoder::Config(),
207 std::vector<boost::iostreams::stream_offset>* chromatogramPositions = 0,
209 PWIZ_API_DECL void read(std::istream& is, ChromatogramListSimple& chromatogramListSimple);
216 void write(minimxml::XMLWriter& writer,
const Run& run,
const MSData& msd,
217 const BinaryDataEncoder::Config& config = BinaryDataEncoder::Config(),
218 std::vector<boost::iostreams::stream_offset>* spectrumPositions = 0,
219 std::vector<boost::iostreams::stream_offset>* chromatogramPositions = 0,
222 void read(std::istream& is, Run& run,
227 void write(minimxml::XMLWriter& writer,
const MSData& msd,
228 const BinaryDataEncoder::Config& config = BinaryDataEncoder::Config(),
229 std::vector<boost::iostreams::stream_offset>* spectrumPositions = 0,
230 std::vector<boost::iostreams::stream_offset>* chromatogramPositions = 0,
233 void read(std::istream& is, MSData& msd,