2#ifndef CALIBUTIL_METADATA_H
3#define CALIBUTIL_METADATA_H
60 Metadata(
const std::string& host=
"bes3db2.ihep.ac.cn",
61 const std::string& table=
"*",
62 const std::string& dbName=
"calib");
97 const std::string& calibType,
98 const std::string& sft_ver,
99 const std::string& cal_ver,
100 const std::string& cal_par,
101 const std::string& rec_alg,
102 const std::string& rec_par,
103 const std::string& machine,
104 const std::string& flavor=
"VANILLA");
126 const std::string& calibType,
127 const std::string& sft_ver,
128 const std::string& cal_ver,
129 const std::string& cal_par,
130 const std::string& rec_alg,
131 const std::string& rec_par,
132 const std::string& machine,
133 const std::string& flavor=
"VANILLA");
161 std::string& dataFmt,
163 std::string& dataIdent);
168 std::string& calParVer,
171 std::string& sftver);
176 std::string& calParVer,
179 std::string& sftver);
184 std::string& calParVer,
187 std::string& sftver);
192 std::string& calParVer,
195 std::string& sftver);
200 std::string& calParVer,
203 std::string& sftver);
208 std::string& calParVer,
211 std::string& sftver);
216 std::string& calParVer,
219 std::string& sftver);
224 std::string& Version,
230 std::string& calParVer,
233 std::string& sftver);
238 std::string& calParVer,
241 std::string& sftver);
246 std::string& calParVer,
249 std::string& sftver);
253 std::string& calParVer,
256 std::string& sftver);
260 std::string& calParVer,
263 std::string& sftver);
267 std::string& calParVer,
270 std::string& sftver);
274 std::string& calParVer,
277 std::string& sftver);
281 std::string& calParVer,
284 std::string& sftver);
290 const std::string& flavor,
291 const std::string& calib_type,
292 const std::string& data_ident,
293 const std::string& data_format,
294 unsigned int& runfrm,
296 const std::string& input_desc,
297 const std::string& notes,
298 const std::string& proc_level,
299 const std::string& locale,
300 const std::string& fmt_version =
"",
301 const std::string& completion =
"OK");
333 unsigned adjustVend(
int newSer);
341 bool fetchLevel(std::string& val,
unsigned int *levelMask);
352 const std::string& user,
353 const std::string& pw,
eRet& err,
354 const std::string& dbName);
356 bool connectWrite(
eRet& err);
360 const std::string& schema);
365 eRet doSelect(std::vector<rdbModel::Assertion::Operator *>&
371 eRet fetchUser(std::string& user);
399 std::string m_dbName;
Module implements methods for clients to get generic services.
std::vector< std::string > StringVector