15#ifndef DDELEMREF_H_INCLUDED
16#define DDELEMREF_H_INCLUDED
168 friend class DDStructure;
171 std::shared_ptr<dd::StructType::Element> element);
176 std::shared_ptr<dd::StructType::Element> _element;
DDElementRef(const DDElementRef &)=delete
Construct a new DDElement object.
const dd::DataDefinition & getDD() const
retrieves a valid DataDefinition for the elements datatypes and units.
DDElementRef()
Construct a new DDElement object.
DDElementRef & setMinMax(const std::string &minimum_value, const std::string &maximum_value)
Set additional element information to the given element_name.
DDElementRef & setDefaultValue(const std::string &default_value)
Set the default value information to the element.
DDElementRef & setComment(const std::string &comment)
Set additional element information to the given element_name.
~DDElementRef()
Destroy the DDElement object.
DDElementRef & setDescription(const std::string &description)
Set the description to the element.
DDElementRef & operator=(DDElementRef &&)
assignment move operator
DDElementRef(DDElementRef &&)
Construct a new DDElement object.
const dd::StructType::Element & getElement() const
Get the Element object.
DDElementRef & setValidElementCount(const std::string &valid_element_count)
Sets the 'valid_element_count' attribute to the element.
DDElementRef & setScaleOffset(const std::string &scale, const std::string &offset)
Set scale and offset information to the element.
DDElementRef & setUnit(const DDUnit &unit)
Sets additional unit information to the element. Any other unit information will be overwritten.
DDElementRef & setValue(const std::string &value)
Set the constant value information to the element.
DDElementRef & setUnit(const dd::BaseUnit &base_unit)
Sets additional unit information to the element. Any other unit information will be overwritten.
DDElementRef & operator=(const DDElementRef &)=delete
assignment copy operator
Utility class for a complete valid data definition of one StructType and its dependencies....
Definition ddstructure.h:57
The unit class holding a reference to its complete DD (references to baseunits and prefixes)
Definition ddunit.h:92
The Data Definiton class uses the validation model to keep a Data Definition datamodel (ddl::dd::data...
Definition dd.h:92
observable DataDefinition object class for a Element of a StructType.
Definition datamodel_types.h:736
datamodel::BaseUnit BaseUnit
Definition dd.h:39
definiton of the unit namespace
Definition dd_predefined_units.h:55
definition of the ddl namespace
Definition codec.h:21