8#ifndef DBE_CONFOBJECT_DESC_HPP_
9#define DBE_CONFOBJECT_DESC_HPP_
31template<
typename S = std::
string>
41 std::swap ( one.this_referenced_object, another.this_referenced_object );
42 std::swap ( one.this_class, another.this_class );
43 std::swap ( one.this_name, another.this_name );
44 std::swap ( one.this_file, another.this_file );
50 { o.UID(), o.class_name() },
60 { other.this_referenced_object },
108template<
typename S = std::string,
typename I = std::string,
typename A = std::string,
109 template<
typename ... >
class V = std::vector,
template <
typename ...>
class M = std::map >
146template<
typename S = std::
string>
165 std::for_each ( std::begin ( this->attributes ), std::end ( this->attributes ),
166 [&lattributes] (
typename std::pair<S, QStringList>
const & e )
168 t_config_object_preimage::type_attrmap::value_type::second_type v;
170 for (
auto const & x : e.second )
172 v.push_back ( x.toStdString() );
175 lattributes.insert ( std::make_pair ( e.first, v ) );
178 std::for_each ( std::begin ( this->relations ), std::end ( this->relations ),
179 [&lrelations] (
typename t_relmap::value_type
const & e )
181 t_config_object_preimage::type_relmap::value_type::second_type v;
188 lrelations.insert ( std::make_pair ( e.first, v ) );
193 lattributes, lrelations,
config_object_description operator=(config_object_description other)
inner::configobject::tref this_referenced_object
config_object_description(config_object_description const &other)
inner::configobject::tref ref() const
config_object_description(dbe::inner::configobject::tref const &o) noexcept(false)
friend void transfer(config_object_description &one, config_object_description &another) noexcept
config_object_key(std::string const &oname, std::string const &cname)
config_object_preimage< std::string > t_config_object_preimage
config_object_image< S, config_object_key< S >, S > config_object_preimage
config_object_representation t_config_object_rep
config_object_description dref
M< type_str, type_images > type_relmap
M< type_str, type_attributes > type_attrmap
V< type_image > type_images
V< type_attribute_value > type_attributes
std::vector< t_confobject > t_confobjects
std::map< S, QStringList > t_attrmap
t_config_object_preimage toimage()
config_object_description< S > t_confobject
std::map< S, t_confobjects > t_relmap