ProteoWizard
Public Member Functions | Private Member Functions | Private Attributes | List of all members
pwiz::msdata::Serializer_MSn Class Reference

MSData <-> MSn stream serialization. More...

#include <Serializer_MSn.hpp>

Public Member Functions

 Serializer_MSn (MSn_Type filetype)
 constructor More...
 
void write (std::ostream &os, const MSData &msd, const pwiz::util::IterationListenerRegistry *iterationListenerRegistry=0) const
 write MSData object to ostream as MSn; iterationListenerRegistry may be used to receive progress updates More...
 
void read (boost::shared_ptr< std::istream > is, MSData &msd) const
 read in MSData object from an MGF istream note: istream may be managed by MSData's SpectrumList, to allow for lazy evaluation of Spectrum data More...
 

Private Member Functions

 Serializer_MSn (Serializer_MSn &)
 
Serializer_MSnoperator= (Serializer_MSn &)
 

Private Attributes

boost::shared_ptr< Impl > impl_
 

Detailed Description

MSData <-> MSn stream serialization.

Definition at line 37 of file Serializer_MSn.hpp.

Constructor & Destructor Documentation

§ Serializer_MSn() [1/2]

pwiz::msdata::Serializer_MSn::Serializer_MSn ( MSn_Type  filetype)

constructor

§ Serializer_MSn() [2/2]

pwiz::msdata::Serializer_MSn::Serializer_MSn ( Serializer_MSn )
private

Member Function Documentation

§ write()

void pwiz::msdata::Serializer_MSn::write ( std::ostream &  os,
const MSData msd,
const pwiz::util::IterationListenerRegistry iterationListenerRegistry = 0 
) const

write MSData object to ostream as MSn; iterationListenerRegistry may be used to receive progress updates

Referenced by testWriteReadBMS1(), testWriteReadBMS2(), testWriteReadCMS1(), testWriteReadCMS2(), testWriteReadMS1(), and testWriteReadMS2().

§ read()

void pwiz::msdata::Serializer_MSn::read ( boost::shared_ptr< std::istream >  is,
MSData msd 
) const

read in MSData object from an MGF istream note: istream may be managed by MSData's SpectrumList, to allow for lazy evaluation of Spectrum data

Referenced by testWriteReadBMS1(), testWriteReadBMS2(), testWriteReadCMS1(), testWriteReadCMS2(), testWriteReadMS1(), and testWriteReadMS2().

§ operator=()

Serializer_MSn& pwiz::msdata::Serializer_MSn::operator= ( Serializer_MSn )
private

Member Data Documentation

§ impl_

boost::shared_ptr<Impl> pwiz::msdata::Serializer_MSn::impl_
private

Definition at line 55 of file Serializer_MSn.hpp.


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