ProteoWizard
Classes | Public Member Functions | Private Member Functions | Private Attributes
pwiz::identdata::Serializer_mzIdentML Class Reference

MZIDData <-> mzIdentML stream serialization. More...

#include <Serializer_mzid.hpp>

List of all members.

Classes

struct  Config
 Serializer_mzIdentML configuration. More...

Public Member Functions

 Serializer_mzIdentML (const Config &config=Config())
void write (std::ostream &os, const IdentData &mzid, const pwiz::util::IterationListenerRegistry *=0) const
 write MZIDData object to ostream as mzIdentML
void read (boost::shared_ptr< std::istream > is, IdentData &mzid, const pwiz::util::IterationListenerRegistry *=0) const
 read in MZIDData object from a mzIdentML istream

Private Member Functions

 Serializer_mzIdentML (Serializer_mzIdentML &)
Serializer_mzIdentMLoperator= (Serializer_mzIdentML &)

Private Attributes

const Config config_

Detailed Description

MZIDData <-> mzIdentML stream serialization.

Definition at line 36 of file Serializer_mzid.hpp.


Constructor & Destructor Documentation

pwiz::identdata::Serializer_mzIdentML::Serializer_mzIdentML ( const Config config = Config())
inline

Definition at line 49 of file Serializer_mzid.hpp.

: config_(config) {}
pwiz::identdata::Serializer_mzIdentML::Serializer_mzIdentML ( Serializer_mzIdentML )
private

Member Function Documentation

void pwiz::identdata::Serializer_mzIdentML::write ( std::ostream &  os,
const IdentData mzid,
const pwiz::util::IterationListenerRegistry = 0 
) const

write MZIDData object to ostream as mzIdentML

Referenced by test(), and testSerialize().

void pwiz::identdata::Serializer_mzIdentML::read ( boost::shared_ptr< std::istream >  is,
IdentData mzid,
const pwiz::util::IterationListenerRegistry = 0 
) const

read in MZIDData object from a mzIdentML istream

Referenced by testSerialize().

Serializer_mzIdentML& pwiz::identdata::Serializer_mzIdentML::operator= ( Serializer_mzIdentML )
private

Member Data Documentation

const Config pwiz::identdata::Serializer_mzIdentML::config_
private

Definition at line 60 of file Serializer_mzid.hpp.


The documentation for this class was generated from the following file: