BOSS 7.0.5
BESIII Offline Software System
|
#include <string>
#include <iostream>
#include "calibUtil/Metadata.h"
Go to the source code of this file.
Functions | |
void | gotIt (unsigned int ser, const std::string &dataFmt, const std::string &fmtVersion, const std::string &dataIdent) |
calibUtil::Metadata::eRet | lookup (const std::string &ctype, const facilities::Timestamp &ts, unsigned int levelMask, const std::string &inst) |
calibUtil::Metadata::eRet | soonest (const std::string &ctype, const facilities::Timestamp &update_start, const facilities::Timestamp &update_end, unsigned int levelMask, const std::string &inst, const std::string &flavor=std::string("VANILLA")) |
void | compatibility () |
int | main (int, char **) |
Sample program to add record(s) to the MySQL database. For now user only gets to specify instrument type location of file validity start and end times
Ultimately need something more flexible and easier to use.
Sample program to exercise calibration metadata database services
Definition in file test_meta.cxx.
void compatibility | ( | ) |
void gotIt | ( | unsigned int | ser, |
const std::string & | dataFmt, | ||
const std::string & | fmtVersion, | ||
const std::string & | dataIdent | ||
) |
Definition at line 103 of file test_meta.cxx.
calibUtil::Metadata::eRet lookup | ( | const std::string & | ctype, |
const facilities::Timestamp & | ts, | ||
unsigned int | levelMask, | ||
const std::string & | inst | ||
) |
Definition at line 113 of file test_meta.cxx.
Referenced by main().
int main | ( | int | , |
char ** | |||
) |
Definition at line 28 of file test_meta.cxx.
calibUtil::Metadata::eRet soonest | ( | const std::string & | ctype, |
const facilities::Timestamp & | update_start, | ||
const facilities::Timestamp & | update_end, | ||
unsigned int | levelMask, | ||
const std::string & | inst, | ||
const std::string & | flavor = std::string("VANILLA") |
||
) |
Definition at line 156 of file test_meta.cxx.
Referenced by main().