DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <config_reference.hpp>
Public Member Functions | |
bool | is_null () const |
std::string | UID () const |
std::string | class_name () const |
std::string | full_name () const |
std::string | contained_in () const |
template<typename U > | |
U | get (std::string const &key) |
template<typename U > | |
void | get (std::string const &key, U &val) |
std::vector< T > | referenced_by (std::string const &name="*", bool check_composite_only=true) const |
void | set_obj_null (std::string const &name, bool is_simple, bool skip_non_null_check=false) |
void | set_obj (std::string const &name, T const &other, bool skip_non_null_check=false) |
void | set_objs (std::string const &name, std::vector< T > const &others, bool skip_non_null_check=false) |
template<typename U > | |
void | set_by_val (std::string const &name, U val) |
template<typename U > | |
void | set_by_ref (std::string const &name, U &val) |
void | set_enum (std::string const &name, std::string const &val) |
void | set_class (std::string const &name, std::string const &val) |
void | set_date (std::string const &name, std::string const &val) |
void | set_time (std::string const &name, std::string const &val) |
void | set_enum (std::string const &name, const std::vector< std::string > &value) |
void | set_class (std::string const &name, const std::vector< std::string > &value) |
void | set_date (std::string const &name, const std::vector< std::string > &value) |
void | set_time (std::string const &name, const std::vector< std::string > &value) |
void | move (std::string const &at) |
void | print_ref (std::ostream &s, dunedaq::conffwk::Configuration &conf, const std::string &prefix="", bool show_contained_in=false) const |
Print details of object's attributes and relationships. | |
Protected Member Functions | |
template<typename U > | |
U | getdirect (std::string const &key) const |
Private Member Functions | |
operator dunedaq::conffwk::ConfigObject & () noexcept | |
operator dunedaq::conffwk::ConfigObject & () const noexcept | |
Friends | |
template<typename X , typename U > | |
class | authorized_getter |
class | dbe::inner::configobject::tref |
class | dbe::inner::configobject::vref |
class | dbe::inner::configobject::aref< T > |
std::ostream & | operator<< (std::ostream &os, dbe::inner::configobject::tref const &atref) |
Definition at line 148 of file config_reference.hpp.
|
inline |
Definition at line 196 of file config_reference.hpp.
|
inline |
Definition at line 206 of file config_reference.hpp.
|
inline |
Definition at line 201 of file config_reference.hpp.
|
inline |
Retrieve values of type U referred by the given key
key | is the attribute name |
Definition at line 217 of file config_reference.hpp.
|
inline |
Compatibility interface to support ConfigObject style queries
key | a string of what to look for |
val | is a reference to the object where the value of matching type will be placed |
Definition at line 229 of file config_reference.hpp.
|
inlineprotected |
Retrieve values of type U referred by the given key
key | is the attribute name |
Definition at line 168 of file config_reference.hpp.
|
inline |
Definition at line 186 of file config_reference.hpp.
|
inline |
Definition at line 327 of file config_reference.hpp.
|
inlineexplicitprivatenoexcept |
Definition at line 156 of file config_reference.hpp.
|
inlineexplicitprivatenoexcept |
Definition at line 151 of file config_reference.hpp.
|
inline |
Print details of object's attributes and relationships.
s | the output stream |
conf | the configuration object (required to read schema description) |
prefix | optional shift output using prefix |
show_contained_in | optional print out info about object database file |
Definition at line 336 of file config_reference.hpp.
template std::vector< tref > dbe::inner::configobject::ref_interface< T >::referenced_by | ( | std::string const & | name = "*", |
bool | check_composite_only = true ) const |
New method to retrieve reference to this object through some relation
name | of of the relation to check references through to this object |
check_composite_only | enables checking of only composite parent objects |
Definition at line 30 of file dbcontroller.cpp.
|
inline |
Definition at line 282 of file config_reference.hpp.
|
inline |
Definition at line 277 of file config_reference.hpp.
|
inline |
Definition at line 312 of file config_reference.hpp.
|
inline |
Definition at line 292 of file config_reference.hpp.
|
inline |
Definition at line 317 of file config_reference.hpp.
|
inline |
Definition at line 297 of file config_reference.hpp.
|
inline |
Definition at line 307 of file config_reference.hpp.
|
inline |
Definition at line 287 of file config_reference.hpp.
|
inline |
Definition at line 255 of file config_reference.hpp.
|
inline |
Definition at line 244 of file config_reference.hpp.
|
inline |
Definition at line 263 of file config_reference.hpp.
|
inline |
Definition at line 322 of file config_reference.hpp.
|
inline |
Definition at line 302 of file config_reference.hpp.
|
inline |
Definition at line 191 of file config_reference.hpp.
Definition at line 182 of file config_reference.hpp.
|
friend |
Definition at line 350 of file config_reference.hpp.
|
friend |
Definition at line 349 of file config_reference.hpp.
|
friend |
Definition at line 350 of file config_reference.hpp.
|
friend |