25#ifndef _SERIALIZER_PROTXML_HPP_
26#define _SERIALIZER_PROTXML_HPP_
47 Config(
bool readSpectrumQueries =
true) : readSpectrumQueries(readSpectrumQueries) {}
53 void write(std::ostream& os,
const IdentData& mzid,
const std::string& filepath,
58 std::vector<std::string> *sourceFilesPtr,
MZIDData <-> pepXML stream serialization.
Serializer_protXML(const Config &config=Config())
void read(boost::shared_ptr< std::istream > is, IdentData &mzid, std::vector< std::string > *sourceFilesPtr, const pwiz::util::IterationListenerRegistry *=0) const
read in MZIDData object from a protXML istream
Serializer_protXML(Serializer_protXML &)
Serializer_protXML & operator=(Serializer_protXML &)
void write(std::ostream &os, const IdentData &mzid, const std::string &filepath, const pwiz::util::IterationListenerRegistry *=0) const
write MZIDData object to ostream as pepXML
handles registration of IterationListeners and broadcast of update messages
Implementation of the MzIdentMLType from the mzIdentML schema.
Serializer_protXML configuration.
Config(bool readSpectrumQueries=true)