13 #ifndef DD4HEP_OPAQUEDATABINDER_H
14 #define DD4HEP_OPAQUEDATABINDER_H
80 template <
typename BINDER,
typename OBJECT>
static
81 bool bind(
const BINDER& b, OBJECT&
object,
const std::string& typ,
const std::string& val);
84 template <
typename OBJECT>
static
85 bool bind_sequence(OBJECT&
object,
const std::string& typ,
const std::string& val);
88 template <
typename BINDER,
typename OBJECT>
static
89 bool bind_map(
const BINDER& b, OBJECT& o,
const std::string& key_type,
const std::string& val_type);
92 template <
typename BINDER,
typename OBJECT>
static
94 const std::string& key_type,
const std::string& key,
95 const std::string& val_type,
const std::string& val);
97 template <
typename BINDER,
typename OBJECT>
static
99 const std::string& key_type,
const std::string& val_type,
100 const std::string& pair_data);
static bool bind_sequence(OBJECT &object, const std::string &typ, const std::string &val)
Binding function for sequences (unmapped STL containers)
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...
Helper class to bind string values to C++ data items.
OpaqueDataBinder()=default
Default constructor.
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 string values to a STL set of data objects (primitive or complex) ...
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 objects (primitive or complex)
Helper class to bind string values to a STL vector of data objects (primitive or complex) ...
~OpaqueDataBinder()=default
Default destructor.
Helper class to bind STL map objects.