|
ATLAS Offline Software
|
Go to the documentation of this file.
3 #ifndef TRIGCONFIO_TRIGDBHELPER_H
4 #define TRIGCONFIO_TRIGDBHELPER_H
6 #include "CoralBase/Blob.h"
7 #include "CoralBase/Attribute.h"
8 #include "CoralBase/AttributeList.h"
9 #include "RelationalAccess/ISessionProxy.h"
10 #include "RelationalAccess/IQuery.h"
12 #define BOOST_BIND_GLOBAL_PLACEHOLDERS // Needed to silence Boost pragma message
13 #include "boost/property_tree/ptree.hpp"
14 #include "boost/property_tree/json_parser.hpp"
15 #include "boost/iostreams/stream.hpp"
22 #include "RelationalAccess/ICursor.h"
23 #include "RelationalAccess/ITransaction.h"
24 #include "RelationalAccess/SchemaException.h"
44 std::unique_ptr< coral::IQuery >
56 std::vector<std::pair<std::string,std::string>>
m_tables{};
void setDataName(const std::string &dataName)
void extendOutput(const std::string &fieldName)
void setBoundValue(const std::string &fieldName, const T &value)
Forward iterator to traverse the main components of the trigger configuration.
coral::AttributeList m_attList
std::unique_ptr< coral::IQuery > createQuery(coral::ISessionProxy *session)
coral::AttributeList m_bindList
boost::property_tree::ptree ptree
void extendBinding(const std::string &fieldName)
void extendCondition(const std::string &condext)
std::vector< std::pair< std::string, std::string > > m_tables
void blobToPtree(const coral::Blob &blob, boost::property_tree::ptree &pt)
std::set< std::string > m_bound
const std::string & dataName()
void addToTableList(const std::string &table, const std::string &table_short="")