52 string result =
"goober";
84 int main(
int argc,
char* argv[])
MS_deisotoping
deisotoping: The removal of isotope peaks to represent the fragment ion as one data point and is comm...
MS_MSn_spectrum
MSn spectrum: MSn refers to multi-stage MS2 experiments designed to record product ion spectra where ...
CVParam cvParam(CVID cvid) const
finds cvid in the container:
void testParamContainer()
MS_ms_level
ms level: Stages of ms achieved in a multi stage mass spectrometry experiment.
UO_second
second: A time unit which is equal to the duration of 9 192 631 770 periods of the radiation correspo...
MS_selected_ion_m_z
selected ion m/z: Mass-to-charge ratio of an selected ion.
UserParam userParam(const std::string &) const
finds UserParam with specified name
bool empty() const
returns true iff name, value, type, and units are all empty
Uncontrolled user parameters (essentially allowing free text). Before using these, one should verify whether there is an appropriate CV term available, and if so, use the CV term instead.
bool hasCVParam(CVID cvid) const
returns true iff cvParams contains exact cvid (recursive)
std::vector< UserParam > userParams
a collection of uncontrolled user terms
MS_ionization_type
ionization type: The method by which gas phase ions are generated from the sample.
The base class for elements that may contain cvParams, userParams, or paramGroup references.
std::vector< CVParam > cvParams
a collection of controlled vocabulary terms
int main(int argc, char *argv[])
MS_reflectron_on
reflectron on: Reflectron is on.
MS_spectrum_type
spectrum type: Spectrum type.
UO_minute
minute: A time unit which is equal to 60 seconds.
value_type valueAs() const
Templated value access with type conversion.
bool hasCVParamChild(CVID cvid) const
returns true iff cvParams contains a child (is_a) of cvid (recursive)
void set(CVID cvid, const std::string &value="", CVID units=CVID_Unknown)
set/add a CVParam (not recursive)
#define TEST_PROLOG(argc, argv)
MS_reflectron_off
reflectron off: Reflectron is off.
CVParam cvParamChild(CVID cvid) const
finds child of cvid in the container:
value_type valueAs() const
templated value access with type conversion
represents a tag-value pair, where the tag comes from the controlled vocabulary