17void gotIt(
unsigned int ser,
const std::string& dataFmt,
18 const std::string& fmtVersion,
const std::string& dataIdent);
24 Metadata meta(
"*",
"*",
"calib_test");
27 meta.registerCalib(
"kazoo",
"mango",
"Test_Gen",
"notAFile.xml",
30 "From add_meta test program in calibUtil package",
31 "TEST",
"SLAC",
"",
"OK",
"",
"");
33 std::cout <<
"Successfully added metadata record; returned serial no. is "
36 else std::cout <<
"Failed to register new metadata record" << std::endl;
39 meta.registerCalib(
"kazoo",
"mango",
"Test_Gen",
"alsoNotAFile.xml",
42 "From add_meta test program in calibUtil package, overlaps previous",
43 "TEST",
"SLAC",
"",
"OK",
"",
"");
45 std::cout <<
"Successfully added metadata record; returned serial no. is "
48 else std::cout <<
"Failed to register new metadata record" << std::endl;