|
DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Go to the documentation of this file.
13 #ifndef DD4HEP_OPAQUEDATABINDER_H
14 #define DD4HEP_OPAQUEDATABINDER_H
83 template <
typename BINDER,
typename OBJECT>
static
84 bool bind(
const BINDER& b, OBJECT&
object,
const std::string& typ,
const std::string& val);
87 template <
typename OBJECT>
static
88 bool bind_sequence(OBJECT&
object,
const std::string& typ,
const std::string& val);
91 template <
typename BINDER,
typename OBJECT>
static
92 bool bind_map(
const BINDER& b, OBJECT& o,
const std::string& key_type,
const std::string& val_type);
95 template <
typename BINDER,
typename OBJECT>
static
97 const std::string& key_type,
const std::string&
key,
98 const std::string& val_type,
const std::string& val);
100 template <
typename BINDER,
typename OBJECT>
static
102 const std::string& key_type,
const std::string& val_type,
103 const std::string& pair_data);
Helper class to bind string values to C++ data objects (primitive or complex)
static bool bind_sequence(OBJECT &object, const std::string &typ, const std::string &val)
Binding function for sequences (unmapped STL containers)
OpaqueDataBinder()=default
Default constructor.
Helper class to bind string values to a STL vector of data objects (primitive or complex)
~OpaqueDataBinder()=default
Default destructor.
Helper class to bind string values to a STL list of data objects (primitive or complex)
static bool bind(const BINDER &b, OBJECT &object, const std::string &typ, const std::string &val)
Binding function for scalar items. See the implementation function for the concrete instantiations.
static bool insert_map(const BINDER &b, OBJECT &o, const std::string &key_type, const std::string &key, const std::string &val_type, const std::string &val)
Filling function for STL maps.
Helper class to bind string values to C++ data items.
Namespace for the AIDA detector description toolkit.
static bool bind_map(const BINDER &b, OBJECT &o, const std::string &key_type, const std::string &val_type)
Binding function for STL maps. Does not fill data!
Helper class to bind STL map objects.
Helper class to bind string values to a STL set of data objects (primitive or complex)