|
BOSS 8.0.0
BESIII Offline Software System
|
#include "calibUtil/Metadata.h"#include <iostream>#include <string>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 91 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 101 of file test_meta.cxx.
Referenced by main().
| int main | ( | int | , |
| char ** | ) |
Definition at line 25 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 139 of file test_meta.cxx.
Referenced by main().