28 #include "boost/lambda/lambda.hpp" 29 #include "boost/lambda/bind.hpp" 45 if (
os_) *
os_ <<
"testModelAndManufacturer()\n";
55 <<
"model: " << adapter.
model() << endl;
63 <<
"model: " << adapter.
model() << endl;
71 <<
"model: " << adapter.
model() << endl;
98 adapter.
ionisation(
" Electrospray-Ionization");
152 adapter.
detector(
" Electron Multiplier ");
176 adapter.
name(
" XcaLibur ");
177 if (
os_) *
os_ <<
"software name: " << adapter.
name() << endl;
182 adapter.
name(
"goober");
183 if (
os_) *
os_ <<
"software name: " << adapter.
name() << endl;
184 softwareParam = software->cvParamChild(
MS_software);
189 if (
os_) *
os_ <<
"software version: " << adapter.
version() << endl;
196 adapter.
type(
"analysis");
197 if (
os_) *
os_ <<
"software type: " << adapter.
type() << endl;
209 int main(
int argc,
char* argv[])
215 if (argc>1 && !strcmp(argv[1],
"-v"))
os_ = &cout;
void testInstrumentConfiguration()
ComponentList componentList
list with the different components used in the mass spectrometer. At least one source, one mass analyzer and one detector need to be specified.
std::string version() const
boost::shared_ptr< Software > SoftwarePtr
A component of an instrument corresponding to a source (i.e. ion source), an analyzer (i...
translates text to CV terms
std::string model() const
interface for legacy access to Instrument
interface for legacy access to Software
MS_software
software: Software related to the recording or transformation of spectra.
Component & source(size_t index)
returns the source component with ordinal <index+1>
std::string detector() const
void testModelAndManufacturer()
std::vector< UserParam > userParams
a collection of uncontrolled user terms
std::vector< CVParam > cvParams
a collection of controlled vocabulary terms
std::string manufacturer() const
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...
std::string ionisation() const
int main(int argc, char *argv[])
#define TEST_PROLOG(argc, argv)
MS_Xcalibur
Xcalibur: Thermo Finnigan software for data acquisition and analysis.
std::string analyzer() const
Component & detector(size_t index)
returns the detector component with ordinal <index+1>
This is the root element of ProteoWizard; it represents the mzML element, defined as: intended to cap...
void manufacturerAndModel(const std::string &valueManufacturer, const std::string &valueModel)
represents a tag-value pair, where the tag comes from the controlled vocabulary