DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
config_direct_access.hpp
Go to the documentation of this file.
1/************************************************************
2 * direct_access.h
3 *
4 * Created on: Feb 4, 2016
5 * Author: Leonidas Georgopoulos
6 ************************************************************/
7
8#ifndef DBE_CONFIG_DIRECT_ACCESS_H_
9#define DBE_CONFIG_DIRECT_ACCESS_H_
10
11#include "dbe/dbcontroller.hpp"
13
15
16#include <string>
17
18namespace dbe
19{
20
21namespace config
22{
23
24namespace api
25{
26
30class rwdacc
31{
39 static std::vector<dunedaq::conffwk::ConfigObject> query_class ( std::string const & classname,
40 std::string const & query );
41
53 static dunedaq::conffwk::ConfigObject create_object ( std::string const & fn, std::string const & cn,
54 std::string const & name );
55
63 static dunedaq::conffwk::ConfigObject get_object ( std::string const &, std::string const & );
64
73 static tref set_object ( tref newobj,
76
77
85 static void rename_object ( dunedaq::conffwk::ConfigObject & object, std::string const & newname );
86
93
94 friend class inner::dbcontroller;
95};
96
97} // namespace api
98
99} // namespace config
100
101} // namespace dbe
102
103#endif /* DBE_CONFIG_DIRECT_ACCESS_H_ */
static tref set_object(tref newobj, dbe::t_config_object_preimage::type_attrmap const &attributes, dbe::t_config_object_preimage::type_relmap const &relations)
Definition rwdacc.cpp:83
static void destroy_object(dunedaq::conffwk::ConfigObject &)
Definition rwdacc.cpp:338
static dunedaq::conffwk::ConfigObject get_object(std::string const &, std::string const &)
Definition rwdacc.cpp:355
static std::vector< dunedaq::conffwk::ConfigObject > query_class(std::string const &classname, std::string const &query)
Definition rwdacc.cpp:387
static dunedaq::conffwk::ConfigObject create_object(std::string const &fn, std::string const &cn, std::string const &name)
Definition rwdacc.cpp:42
static void rename_object(dunedaq::conffwk::ConfigObject &object, std::string const &newname)
Definition rwdacc.cpp:417
Represents database objects.
Include QT Headers.
M< type_str, type_attributes > type_attrmap
M< type_str, type_images > type_relmap