ATLAS Offline Software
Loading...
Searching...
No Matches
DBHelper.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TrigConf_DBHelper
6#define TrigConf_DBHelper
7
8#include <CoralBase/Attribute.h>
9#include <CoralBase/AttributeList.h>
10
11#include "RelationalAccess/SchemaException.h"
12#include "RelationalAccess/ITransaction.h"
13#include "RelationalAccess/ITable.h"
14#include "RelationalAccess/ISchema.h"
15#include "RelationalAccess/ICursor.h"
16#include "RelationalAccess/IQuery.h"
17
18#include <string>
19
20namespace TrigConf {
21
22 void fillQuery(coral::IQuery *q, coral::AttributeList& attList);
23
24 inline std::string rmtilde(const std::string & input) { return input=="~" ? "" : input; }
25
26 void printTable(const coral::ITable & teTable);
27
28}
29
30#endif
Forward iterator to traverse the main components of the trigger configuration.
Definition Config.h:22
void fillQuery(coral::IQuery *q, coral::AttributeList &attList)
Definition DBHelper.cxx:13
void printTable(const coral::ITable &teTable)
Definition DBHelper.cxx:21
std::string rmtilde(const std::string &input)
Definition DBHelper.h:24