ProteoWizard
|
A collection of CVParam and UserParam elements that can be referenced from elsewhere in this mzML document by using the 'paramGroupRef' element in that location to reference the 'id' attribute value of this element. More...
#include <ParamTypes.hpp>
Public Member Functions | |
ParamGroup (const std::string &_id="") | |
bool | empty () const |
returns true iff the element contains no params or param groups | |
![]() | |
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 | |
std::string | id |
the identifier with which to reference this ReferenceableParamGroup. | |
![]() | |
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 collection of CVParam and UserParam elements that can be referenced from elsewhere in this mzML document by using the 'paramGroupRef' element in that location to reference the 'id' attribute value of this element.
Definition at line 321 of file ParamTypes.hpp.
pwiz::data::ParamGroup::ParamGroup | ( | const std::string & | _id = "" | ) |
bool pwiz::data::ParamGroup::empty | ( | ) | const |
returns true iff the element contains no params or param groups
Reimplemented from pwiz::data::ParamContainer.
std::string pwiz::data::ParamGroup::id |
the identifier with which to reference this ReferenceableParamGroup.
Definition at line 324 of file ParamTypes.hpp.
Referenced by pwiz::msdata::TextWriter::operator()().