4#include "dbclient/KM3NeTDBClient.h"
21int main(
int argc,
char **argv)
35 JParser<> zap(
"Auxiliary program to get location ID corresponding to given user login.");
37 zap[
's'] =
make_field(server) = getServernames();
46 catch(
const exception &error) {
47 FATAL(error.what() << endl);
53 JDB::reset(usr, pwd, cookie);
56 ResultSet& rs = getResultSet(getTable<JPersons>(), selector);
63 catch(
const exception& error) {
64 FATAL(error.what() << endl);
General purpose messaging.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Wrapper class for server name.
Template definition for getting table specific selector.