Class Ifc4::IfcMaterialConstituent

Nested Relationships

This class is a nested type of Struct Ifc4.

Inheritance Relationships

Base Type

Class Documentation

class Ifc4::IfcMaterialConstituent : public Ifc4::IfcMaterialDefinition

IfcMaterialConstituent is a single and identifiable part of an element which is constructed of a number of part (one or more) each having an individual material. The association of the material constituent to the part is provided by a keyword as value of the Name attribute.

NOTE See the “Material Use Definition” at the individual element to which an IfcMaterialConstituentSet may apply for a required or recommended definition of such keywords as value for IfcMaterialConstituent.Name.

HISTORYNew Entity in IFC2x4

Public Functions

bool hasName() const

Whether the optional attribute Name is defined for this IfcMaterialConstituent.

std::string Name() const

The name by which the material constituent is known.

void setName(std::string v)
bool hasDescription() const

Whether the optional attribute Description is defined for this IfcMaterialConstituent.

std::string Description() const

Definition of the material constituent in descriptive terms.

void setDescription(std::string v)
::Ifc4::IfcMaterial *Material() const

Reference to the material from which the constituent is constructed.

void setMaterial(::Ifc4::IfcMaterial *v)
bool hasFraction() const

Whether the optional attribute Fraction is defined for this IfcMaterialConstituent.

double Fraction() const

Optional provision of a fraction of the total amount (volume or weight) that applies to the IfcMaterialConstituentSet that is contributed by this IfcMaterialConstituent.

void setFraction(double v)
bool hasCategory() const

Whether the optional attribute Category is defined for this IfcMaterialConstituent.

std::string Category() const

Category of the material constituent, e.g. the role it has in the constituent set it belongs to.

void setCategory(std::string v)
IfcTemplatedEntityList<IfcMaterialConstituentSet>::ptr ToMaterialConstituentSet() const
const IfcParse::entity &declaration() const
IfcMaterialConstituent(IfcEntityInstanceData *e)
IfcMaterialConstituent(boost::optional<std::string> v1_Name, boost::optional<std::string> v2_Description, ::Ifc4::IfcMaterial *v3_Material, boost::optional<double> v4_Fraction, boost::optional<std::string> v5_Category)

Public Static Functions

const IfcParse::entity &Class()