|
ProteoWizard
|
A component of an instrument corresponding to a source (i.e. ion source), an analyzer (i.e. mass analyzer), or a detector (i.e. ion detector) More...
#include <MSData.hpp>
Public Member Functions | |
| Component () | |
| Component (ComponentType type, int order) | |
| Component (CVID cvid, int order) | |
| void | define (CVID cvid, int order) |
| bool | empty () const |
| returns true iff the element contains no params and all members are empty or null | |
Public Member Functions inherited from pwiz::data::ParamContainer | |
| CVParam | cvParam (CVID cvid) const |
| finds cvid in the container: | |
| CVParam | cvParamChild (CVID cvid) const |
| finds child of cvid in the container: | |
| std::vector< CVParam > | cvParamChildren (CVID cvid) const |
| finds all children of cvid in the container: | |
| bool | hasCVParam (CVID cvid) const |
| returns true iff cvParams contains exact cvid (recursive) | |
| bool | hasCVParamChild (CVID cvid) const |
| returns true iff cvParams contains a child (is_a) of cvid (recursive) | |
| UserParam | userParam (const std::string &) const |
| finds UserParam with specified name | |
| void | set (CVID cvid, const std::string &value="", CVID units=CVID_Unknown) |
| set/add a CVParam (not recursive) | |
| void | set (CVID cvid, double value, CVID units=CVID_Unknown) |
| set/add a CVParam (not recursive) | |
| void | set (CVID cvid, int value, CVID units=CVID_Unknown) |
| set/add a CVParam (not recursive) | |
| template<typename value_type > | |
| void | set (CVID cvid, value_type value, CVID units=CVID_Unknown) |
| set/add a CVParam (not recursive) | |
| void | clear () |
| clears the collections | |
| bool | operator== (const ParamContainer &that) const |
| returns true iff this and that have the exact same cvParams and userParams | |
| bool | operator!= (const ParamContainer &that) const |
| returns !(this==that) | |
| template<> | |
| void | set (CVID cvid, bool value, CVID units) |
| special case for bool (outside the class for gcc 3.4, and inline for msvc) | |
Public Attributes | |
| ComponentType | type |
| the type of component (Source, Analyzer, or Detector) | |
| int | order |
| this attribute MUST be used to indicate the order in which the components are encountered from source to detector (e.g., in a Q-TOF, the quadrupole would have the lower order number, and the TOF the higher number of the two). | |
Public Attributes inherited from pwiz::data::ParamContainer | |
| std::vector< ParamGroupPtr > | paramGroupPtrs |
| a collection of references to ParamGroups | |
| 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.e. mass analyzer), or a detector (i.e. ion detector)
Definition at line 129 of file MSData.hpp.
|
inline |
Definition at line 137 of file MSData.hpp.
|
inline |
|
inline |
Definition at line 139 of file MSData.hpp.
| void pwiz::msdata::Component::define | ( | CVID | cvid, |
| int | order | ||
| ) |
| bool pwiz::msdata::Component::empty | ( | ) | const |
returns true iff the element contains no params and all members are empty or null
Reimplemented from pwiz::data::ParamContainer.
| ComponentType pwiz::msdata::Component::type |
the type of component (Source, Analyzer, or Detector)
Definition at line 132 of file MSData.hpp.
Referenced by pwiz::msdata::TextWriter::operator()().
| int pwiz::msdata::Component::order |
this attribute MUST be used to indicate the order in which the components are encountered from source to detector (e.g., in a Q-TOF, the quadrupole would have the lower order number, and the TOF the higher number of the two).
Definition at line 135 of file MSData.hpp.
Referenced by pwiz::msdata::TextWriter::operator()(), testComponent(), testInstrumentConfiguration(), and testSource().
1.8.1.1