23 std::unique_ptr<PropertyArray>&& properties)
24 :
name(component_name)
37 OGS_FATAL(
"Trying to access undefined property '{:s}' of {:s}",
56 return "component '" +
name +
"'";
Property const & property(PropertyType const &) const
A get-function for retrieving a certain property.
Property const & operator[](PropertyType const &p) const
PropertyArray properties_
The property array of the component.
bool hasProperty(PropertyType const &p) const
std::string description() const
Short description of the component with its name.
void overwriteExistingProperties(PropertyArray &properties, PropertyArray &new_properties, std::variant< Medium *, Phase *, Component * > scale_pointer)
static const std::array< std::string, PropertyType::number_of_properties > property_enum_to_string