Go to the documentation of this file.
33 using boost::iostreams::stream_offset;
39 template <
typename object_type>
42 if (
os_) *
os_ <<
"testObject(): " <<
typeid(a).name() << endl;
49 if (
os_) *
os_ << oss.str() << endl;
54 istringstream iss(oss.str());
101 template <
typename object_type>
105 a.userParams.push_back(
UserParam(
"goober",
"goo",
"peanuts"));
168 if (
os_) *
os_ <<
"testTraData():\n";
178 if (
os_) *
os_ << oss.str() << endl;
183 istringstream iss(oss.str());
209 int main(
int argc,
char* argv[])
215 if (argc>1 && !strcmp(argv[1],
"-v"))
os_ = &cout;
Uncontrolled user parameters (essentially allowing free text). Before using these,...
std::string fullName
the usual name for the resource (e.g. The PSI-MS Controlled Vocabulary).
The XMLWriter class provides simple, tag-level XML syntax writing.
std::string type
the datatype of the parameter, where appropriate (e.g.: xsd:float).
Information about an ontology or CV source and a short 'lookup' tag to refer to.
std::string URI
the URI for the resource.
std::string id
Identifier for the software to be used for referencing within a document.
std::string id
the short label to be used as a reference tag with which to refer to this particular Controlled Vocab...
CVID units
an optional CV parameter for the unit term associated with the value, if any (e.g....
std::string version
the version of the CV from which the referred-to terms are drawn.
UO_second
second: A time unit which is equal to the duration of 9 192 631 770 periods of the radiation correspo...
MS_ionization_type
ionization type: The method by which gas phase ions are generated from the sample.
PWIZ_API_DECL void write(minimxml::XMLWriter &writer, const CV &cv)
std::string version
Version of the software program described.
Calculate diffs of objects in a ProteoWizard data model hierarchy.
void diff(const string &filename1, const string &filename2)
PWIZ_API_DECL void initializeTiny(IdentData &mzid)
std::string value
the value for the parameter, where appropriate.
void testObject(const object_type &a)
MS_selected_ion_m_z
selected ion m/z: Mass-to-charge ratio of an selected ion.
void set(CVID cvid, const std::string &value="", CVID units=CVID_Unknown)
set/add a CVParam (not recursive)
MS_m_z
m/z: Three-character symbol m/z is used to denote the quantity formed by dividing the mass of an ion ...
int main(int argc, char *argv[])
void testNamedParamContainer()
#define TEST_PROLOG_EX(argc, argv, suffix)
UO_minute
minute: A time unit which is equal to 60 seconds.
represents a tag-value pair, where the tag comes from the controlled vocabulary
PWIZ_API_DECL void read(std::istream &is, CV &cv)
std::string name
the name for the parameter.