ProteoWizard
|
MSData <-> mzXML stream serialization. More...
#include <Serializer_mzXML.hpp>
Classes | |
struct | Config |
Serializer_mzXML configuration. More... |
Public Member Functions | |
Serializer_mzXML (const Config &config=Config()) | |
constructor | |
void | write (std::ostream &os, const MSData &msd, const pwiz::util::IterationListenerRegistry *iterationListenerRegistry=0) const |
write MSData object to ostream as mzXML; iterationListenerRegistry may be used to receive progress updates | |
void | read (boost::shared_ptr< std::istream > is, MSData &msd) const |
read in MSData object from an mzXML istream note: istream may be managed by MSData's SpectrumList, to allow for lazy evaluation of Spectrum data |
Private Member Functions | |
Serializer_mzXML (Serializer_mzXML &) | |
Serializer_mzXML & | operator= (Serializer_mzXML &) |
Private Attributes | |
boost::shared_ptr< Impl > | impl_ |
MSData <-> mzXML stream serialization.
Definition at line 39 of file Serializer_mzXML.hpp.
|
private |
void pwiz::msdata::Serializer_mzXML::write | ( | std::ostream & | os, |
const MSData & | msd, | ||
const pwiz::util::IterationListenerRegistry * | iterationListenerRegistry = 0 |
||
) | const |
write MSData object to ostream as mzXML; iterationListenerRegistry may be used to receive progress updates
Referenced by test(), and testWriteRead().
void pwiz::msdata::Serializer_mzXML::read | ( | boost::shared_ptr< std::istream > | is, |
MSData & | msd | ||
) | const |
read in MSData object from an mzXML istream note: istream may be managed by MSData's SpectrumList, to allow for lazy evaluation of Spectrum data
Referenced by testWriteRead().
|
private |
|
private |
Definition at line 70 of file Serializer_mzXML.hpp.