Class Ifc4::IfcMaterialRelationship¶
Defined in File Ifc4.h
Nested Relationships¶
This class is a nested type of Struct Ifc4.
Inheritance Relationships¶
Base Type¶
public Ifc4::IfcResourceLevelRelationship
(Class Ifc4::IfcResourceLevelRelationship)
Class Documentation¶
-
class
Ifc4
::
IfcMaterialRelationship
: public Ifc4::IfcResourceLevelRelationship¶ IfcMaterialRelationship defines a relationship between part and whole in material definitions (as in composite materials). The parts, expressed by the set of RelatedMaterials, are material constituents of which a single material aggregate is composed.
HISTORYNew Entity in IFC2x4
Public Types
-
typedef IfcTemplatedEntityList<IfcMaterialRelationship>
list
¶
Public Functions
-
::Ifc4::IfcMaterial *
RelatingMaterial
() const¶ Reference to the relating material (the composite).
-
void
setRelatingMaterial
(::Ifc4::IfcMaterial *v)¶
-
IfcTemplatedEntityList<::Ifc4::IfcMaterial>::ptr
RelatedMaterials
() const¶ Reference to related materials (as constituents of composite material).
-
void
setRelatedMaterials
(IfcTemplatedEntityList<::Ifc4::IfcMaterial>::ptr v)¶
-
bool
hasExpression
() const¶ Whether the optional attribute Expression is defined for this IfcMaterialRelationship.
-
std::string
Expression
() const¶ The amount of related material in the whole (composite material or material set). Expressed as proportion (percentage) of weight or volume, or as any other appropriate value.
-
void
setExpression
(std::string v)¶
-
IfcMaterialRelationship
(IfcEntityInstanceData *e)¶
-
IfcMaterialRelationship
(boost::optional<std::string> v1_Name, boost::optional<std::string> v2_Description, ::Ifc4::IfcMaterial *v3_RelatingMaterial, IfcTemplatedEntityList<::Ifc4::IfcMaterial>::ptr v4_RelatedMaterials, boost::optional<std::string> v5_Expression)¶
-
typedef IfcTemplatedEntityList<IfcMaterialRelationship>