15#ifndef DD_DATA_MODEL_KEYVALUE_H_INCLUDED
16#define DD_DATA_MODEL_KEYVALUE_H_INCLUDED
151 std::string _name_key;
152 std::string _value_type;
observable KeyValuePair
Definition datamodel_keyvalue.h:33
KeyValuePair(KeyValuePair &&)=default
move CTOR
bool operator!=(const KeyValuePair &other) const
non-equality operator.
KeyValuePair & operator=(const KeyValuePair &)=default
copy assignment operator
void setName(const std::string &name)
Sets the Name (same as key)
const std::string & getType() const
Get the Type (same as value)
void setValue(const std::string &value)
Set the Value (same as type)
bool operator==(const KeyValuePair &other) const
equality operator.
const std::string & getValue() const
Get the value (same as type)
void setType(const std::string &type)
Set the Type (same as value)
const std::string & getKey() const
Get the Key (same as name)
KeyValuePair & operator=(KeyValuePair &&)=default
move assignment operator
KeyValuePair()=default
Construct a observable new Key Value Pair.
KeyValuePair(std::string name_key, std::string value_type)
CTOR.
const std::string & getName() const
Get the Name (same as key)
virtual ~KeyValuePair()=default
DTOR.
KeyValuePair(const KeyValuePair &)=default
copy CTOR
void setKey(const std::string &key)
Set the Key (same as name)
definition of the datamodel namespace
Definition datamodel_base.h:28
Definition datamodel_keyvalue.h:160
ModelSubjectUtility< T, TypeAccessMapEventCode > TypeAccessMapSubject
helper template to observe map content.
Definition access_map.h:61
definition of the dd namespace
Definition datamodel_base.h:26
definition of the ddl namespace
Definition codec.h:21
static std::string getDifference(const ddl::dd::datamodel::KeyValuePair &left, const ddl::dd::datamodel::KeyValuePair &right)
Get the Difference.
static constexpr auto _other_types
validation other type
Definition datamodel_keyvalue.h:169
Validation helper template for clear excpetion messages.
Definition access_validation.h:37