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

interface for legacy access to Instrument More...

#include <LegacyAdapter.hpp>

Public Member Functions

 LegacyAdapter_Instrument (InstrumentConfiguration &instrumentConfiguration, const CVTranslator &cvTranslator)
 
std::string manufacturer () const
 
std::string model () const
 
void manufacturerAndModel (const std::string &valueManufacturer, const std::string &valueModel)
 
std::string ionisation () const
 
void ionisation (const std::string &value)
 
std::string analyzer () const
 
void analyzer (const std::string &value)
 
std::string detector () const
 
void detector (const std::string &value)
 

Private Member Functions

 LegacyAdapter_Instrument (LegacyAdapter_Instrument &)
 
LegacyAdapter_Instrumentoperator= (LegacyAdapter_Instrument &)
 

Private Attributes

boost::shared_ptr< Impl > impl_
 

Detailed Description

interface for legacy access to Instrument

mzXML/RAMP encode instrument information as 5 strings: manufacturer, model, ionisation, analyzer, detector

In mzML, the equivalent information is encoded as cvParams in various locations in the <instrument> element. One important difference is that the manufacturer information is implicit in the CV term used to encode the model.

The "set" methods use CVTranslator to translate the string(s) to an appropriate cvParam. If no CV term can be found, the information is encoded as a userParam.

The "get" methods look for the cvParam first, then the userParam.

Definition at line 61 of file LegacyAdapter.hpp.

Constructor & Destructor Documentation

§ LegacyAdapter_Instrument() [1/2]

pwiz::msdata::LegacyAdapter_Instrument::LegacyAdapter_Instrument ( InstrumentConfiguration instrumentConfiguration,
const CVTranslator cvTranslator 
)

§ LegacyAdapter_Instrument() [2/2]

pwiz::msdata::LegacyAdapter_Instrument::LegacyAdapter_Instrument ( LegacyAdapter_Instrument )
private

Member Function Documentation

§ manufacturer()

std::string pwiz::msdata::LegacyAdapter_Instrument::manufacturer ( ) const

§ model()

std::string pwiz::msdata::LegacyAdapter_Instrument::model ( ) const

§ manufacturerAndModel()

void pwiz::msdata::LegacyAdapter_Instrument::manufacturerAndModel ( const std::string &  valueManufacturer,
const std::string &  valueModel 
)

§ ionisation() [1/2]

std::string pwiz::msdata::LegacyAdapter_Instrument::ionisation ( ) const

Referenced by testIonisation().

§ ionisation() [2/2]

void pwiz::msdata::LegacyAdapter_Instrument::ionisation ( const std::string &  value)

§ analyzer() [1/2]

std::string pwiz::msdata::LegacyAdapter_Instrument::analyzer ( ) const

Referenced by testAnalyzer().

§ analyzer() [2/2]

void pwiz::msdata::LegacyAdapter_Instrument::analyzer ( const std::string &  value)

§ detector() [1/2]

std::string pwiz::msdata::LegacyAdapter_Instrument::detector ( ) const

Referenced by testDetector().

§ detector() [2/2]

void pwiz::msdata::LegacyAdapter_Instrument::detector ( const std::string &  value)

§ operator=()

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

Member Data Documentation

§ impl_

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

Definition at line 83 of file LegacyAdapter.hpp.


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