4 #include "KM3NeTDBClient.h"
18 int main(
int argc,
char **argv)
33 JParser<> zap(
"Auxiliary program to print data from data base.");
45 catch(
const exception &error) {
46 FATAL(error.what() << endl);
49 DEBUG(
"Selection:" << endl << selection << endl);
57 for (
unsigned int i = 0; i != rs.FieldCount(); ++i) {
58 cout <<
' ' << setw(width) << left << rs.FieldName(i);
63 for (
unsigned int i = 0; i != rs.FieldCount(); ++i) {
64 cout <<
' ' << setw(width) << left << rs.GetString(i);
69 catch(
const exception& error) {
70 FATAL(error.what() << endl);