43 if (
os_) *
os_ <<
"begin testSerialize\n";
51 if (
os_) *
os_ << oss.str() << endl;
54 boost::shared_ptr<istream> iss(
new istringstream(oss.str()));
58 if (
os_ && diff) *
os_ << diff << endl;
67 int main(
int argc,
char** argv)
73 if (argc>1 && !strcmp(argv[1],
"-v"))
os_ = &cout;
int main(int argc, char **argv)
void write(std::ostream &os, const IdentData &mzid, const pwiz::util::IterationListenerRegistry *=0) const
write MZIDData object to ostream as mzIdentML
Calculate diffs of objects in a ProteoWizard data model hierarchy.
void diff(const string &filename1, const string &filename2)
Implementation of the MzIdentMLType from the mzIdentML schema.
void read(boost::shared_ptr< std::istream > is, IdentData &mzid, const pwiz::util::IterationListenerRegistry *=0) const
read in MZIDData object from a mzIdentML istream
PWIZ_API_DECL void initializeTiny(IdentData &mzid)
#define TEST_PROLOG(argc, argv)
MZIDData <-> mzIdentML stream serialization.