28#include "boost/lambda/lambda.hpp"
29#include "boost/lambda/bind.hpp"
37using namespace boost::lambda;
45 if (
os_) *
os_ <<
"testModelAndManufacturer()\n";
55 <<
"model: " << adapter.
model() << endl;
63 <<
"model: " << adapter.
model() << endl;
71 <<
"model: " << adapter.
model() << endl;
101 adapter.
ionisation(
" Electrospray-Ionization");
161 adapter.
detector(
" Electron Multiplier ");
185 adapter.
name(
" XcaLibur ");
186 if (
os_) *
os_ <<
"software name: " << adapter.
name() << endl;
191 adapter.
name(
"goober");
192 if (
os_) *
os_ <<
"software name: " << adapter.
name() << endl;
193 softwareParam = software->cvParamChild(
MS_software);
198 if (
os_) *
os_ <<
"software version: " << adapter.
version() << endl;
205 adapter.
type(
"analysis");
206 if (
os_) *
os_ <<
"software type: " << adapter.
type() << endl;
218int main(
int argc,
char* argv[])
224 if (argc>1 && !strcmp(argv[1],
"-v"))
os_ = &cout;
int main(int argc, char *argv[])
void testModelAndManufacturer()
void testInstrumentConfiguration()
translates text to CV terms
interface for legacy access to Instrument
std::string model() const
std::string analyzer() const
std::string detector() const
std::string ionisation() const
void manufacturerAndModel(const std::string &valueManufacturer, const std::string &valueModel)
std::string manufacturer() const
interface for legacy access to Software
std::string version() const
MS_Xcalibur
Xcalibur: Thermo Finnigan software for data acquisition and analysis.
MS_software
software: Software related to the recording or transformation of spectra.
boost::shared_ptr< Software > SoftwarePtr
represents a tag-value pair, where the tag comes from the controlled vocabulary
std::vector< CVParam > cvParams
a collection of controlled vocabulary terms
std::vector< UserParam > userParams
a collection of uncontrolled user terms
A component of an instrument corresponding to a source (i.e. ion source), an analyzer (i....
Component & detector(size_t index)
returns the detector component with ordinal <index+1>
Component & source(size_t index)
returns the source component with ordinal <index+1>
Component & analyzer(size_t index)
returns the analyzer component with ordinal <index+1>
Description of a particular hardware configuration of a mass spectrometer. Each configuration MUST ha...
ComponentList componentList
list with the different components used in the mass spectrometer. At least one source,...
This is the root element of ProteoWizard; it represents the mzML element, defined as: intended to cap...
#define TEST_PROLOG(argc, argv)