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