ProteoWizard
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
pwiz::identdata::Serializer_mzIdentML Class Reference

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

#include <Serializer_mzid.hpp>

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 More...
 
void read (boost::shared_ptr< std::istream > is, IdentData &mzid, const pwiz::util::IterationListenerRegistry *=0) const
 read in MZIDData object from a mzIdentML istream More...
 

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

§ Serializer_mzIdentML() [1/2]

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

§ Serializer_mzIdentML() [2/2]

pwiz::identdata::Serializer_mzIdentML::Serializer_mzIdentML ( Serializer_mzIdentML )
private

Member Function Documentation

§ write()

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().

§ read()

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().

§ operator=()

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

Member Data Documentation

§ config_

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: