ProteoWizard
|
#include "ParamTypes.hpp"
#include "pwiz/utility/misc/unit.hpp"
#include "pwiz/utility/misc/Std.hpp"
#include <cstring>
Go to the source code of this file.
Classes | |
class | WriteCVParam |
Functions | |
void | test () |
void | testIs () |
void | testIsChildOf () |
void | testParamContainer () |
int | main (int argc, char *argv[]) |
Variables | |
ostream * | os_ = 0 |
const char * | mzmlScanTime = "unitAccession=\"UO:0000031\" unitName=\"minute\"/>\n" |
const char * | mzmlCollisionEnergy = "unitAccession=\"UO:0000266\" unitName=\"electronvolt\"/>\n" |
void test | ( | ) |
Definition at line 75 of file ParamTypesTest.cpp.
References e(), MS_collision_energy, MS_deisotoping, MS_highest_observed_m_z, MS_lowest_observed_m_z, MS_m_z, MS_peak_picking, MS_scan_start_time, mzmlCollisionEnergy, mzmlScanTime, os_, pwiz::data::CVParam::timeInSeconds(), unit_assert, unit_assert_equal, UO_electronvolt, UO_minute, and pwiz::msdata::id::value().
void testIs | ( | ) |
Definition at line 138 of file ParamTypesTest.cpp.
References MS_collision_induced_dissociation, MS_lowest_observed_m_z, MS_plasma_desorption, and unit_assert.
Referenced by main().
void testIsChildOf | ( | ) |
Definition at line 152 of file ParamTypesTest.cpp.
References pwiz::cv::cvTermInfo(), MS_collision_induced_dissociation, MS_dissociation_method, MS_highest_observed_m_z, MS_lowest_observed_m_z, MS_plasma_desorption, pwiz::cv::CVTermInfo::name, os_, unit_assert, UO_electronvolt, and UO_unit.
Referenced by main().
void testParamContainer | ( | ) |
Definition at line 187 of file ParamTypesTest.cpp.
References pwiz::data::CVParam::cvid, CVID_Unknown, pwiz::data::ParamContainer::cvParam(), pwiz::data::ParamContainer::cvParamChild(), pwiz::data::ParamContainer::cvParamChildren(), pwiz::data::ParamContainer::cvParams, pwiz::data::UserParam::empty(), pwiz::data::ParamContainer::hasCVParam(), pwiz::data::ParamContainer::hasCVParamChild(), MS_CID, MS_deisotoping, MS_dissociation_method, MS_ETD, MS_ionization_type, MS_ms_level, MS_MSn_spectrum, MS_PQD, MS_reflectron_off, MS_reflectron_on, MS_selected_ion_m_z, MS_spectrum_type, pwiz::data::ParamContainer::paramGroupPtrs, pwiz::data::ParamContainer::set(), unit_assert, UO_dalton, UO_mass_unit, UO_minute, UO_second, pwiz::data::ParamContainer::userParam(), pwiz::data::ParamContainer::userParams, pwiz::data::CVParam::value, pwiz::data::CVParam::valueAs(), and pwiz::data::UserParam::valueAs().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 260 of file ParamTypesTest.cpp.
References e(), os_, test(), TEST_EPILOG, TEST_FAILED, TEST_PROLOG, testIs(), testIsChildOf(), and testParamContainer().
ostream* os_ = 0 |
Definition at line 35 of file ParamTypesTest.cpp.
const char* mzmlScanTime = "unitAccession=\"UO:0000031\" unitName=\"minute\"/>\n" |
Definition at line 66 of file ParamTypesTest.cpp.
Referenced by test().
const char* mzmlCollisionEnergy = "unitAccession=\"UO:0000266\" unitName=\"electronvolt\"/>\n" |
Definition at line 70 of file ParamTypesTest.cpp.
Referenced by test().