Class Ifc4::IfcPropertySetTemplate¶
Defined in File Ifc4.h
Nested Relationships¶
This class is a nested type of Struct Ifc4.
Inheritance Relationships¶
Base Type¶
public Ifc4::IfcPropertyTemplateDefinition
(Class Ifc4::IfcPropertyTemplateDefinition)
Class Documentation¶
-
class
Ifc4
::
IfcPropertySetTemplate
: public Ifc4::IfcPropertyTemplateDefinition¶ IfcPropertySetTemplate defines the template for all dynamically extensible property sets represented by IfcPropertySet. The property set template is a container of property templates within a property tree. The individual property templates are interpreted according to their Name attribute and shall have no values assigned. NOTE By convention an IfcPropertySetTemplate can also be used as a template for an IfcElementQuantity, being a particular type of a property set definition. Property set templates can form part of a property library used and declared within a project. Depending on the TemplateType the IfcPropertySetTemplate defines a template for:
“Pset_” - occurrences of IfcPropertySet “QTO_” - occurrences of IfcElementQuantity
HISTORY New Entity in IFC2x4.
Relationship use definition
The inherited HasContext inverse relation to IfcRelDeclares is used to declare the IfcPropertySetTemplate within a project library. If included in an exchange data set it can then be traversed through the IfcProjectLibrary.
The Defines inverse relation to IfcRelDefinesByTemplate is provided to keep the definition relationship between the IfcPropertySetTemplate and the one to many IfcPropertySet’s, for which it provides the template.
Between IfcProperty’s within the HasProperties set of IfcPropertySet having the same Name attribute value as the IfcPropertyTemplate’s within the HasPropertyTemplates set of IfcPropertySetTemplate an implicit definition relationship is established that assigns the template to the individual properties.
Figure 5 illustrates relationships used for property set templates.
Figure 5 — Property set template relationships
Public Types
-
typedef IfcTemplatedEntityList<IfcPropertySetTemplate>
list
¶
Public Functions
-
bool
hasTemplateType
() const¶ Whether the optional attribute TemplateType is defined for this IfcPropertySetTemplate.
-
::Ifc4::IfcPropertySetTemplateTypeEnum::Value
TemplateType
() const¶ Property set type defining whether the property set is applicable to a type (subtypes of IfcTypeObject), to an occurrence (subtypes of IfcObject), or as a special case to a performance history. The attribute ApplicableEntity may further refine the applicability to a single or multiple entity type(s).
-
void
setTemplateType
(::Ifc4::IfcPropertySetTemplateTypeEnum::Value v)¶
-
bool
hasApplicableEntity
() const¶ Whether the optional attribute ApplicableEntity is defined for this IfcPropertySetTemplate.
-
std::string
ApplicableEntity
() const¶ The attribute optionally defines the data type of the applicable type or occurrence object, to which the assigned property set template can relate. If not present, no instruction is given to which type or occurrence object the property set template is applicable. The following conventions are used:
The IFC entity name of the applicable entity using the IFC naming convention, CamelCase with IFC prefix It can be optionally followed by the predefined type after the separator “/” (forward slash), using upper case If a performance history object of a particular distribution object is attributes by the property set template, then the entity name (and potentially amended by the predefined type) is expanded by adding ‘[PerformanceHistory]’ If one property set template is applicable to many type and/or occurrence objects, then those object names should be separate by comma “,” forming a comma separated string.
EXAMPLE Refering to a boiler type as applicable entity would be expressed as ‘IfcBoilerType’, refering to a steam boiler type as applicable entity would be expressed as ‘IfcBoilerType/STEAM’, refering to a wall and wall standard case and a wall type would be expressed as ‘IfcWall, IfcWallStandardCase, IfcWallType’.
An applicable IfcPerformanceHistory assigned to an occurrence or type object would be indicated by IfcBoilerType[PerformanceHistory], or respectively IfcBoilerType/STEAM[PerformanceHistory].
-
void
setApplicableEntity
(std::string v)¶
-
IfcTemplatedEntityList<::Ifc4::IfcPropertyTemplate>::ptr
HasPropertyTemplates
() const¶ Set of IfcPropertyTemplate’s that are defined within the scope of the IfcPropertySetTemplate.
-
void
setHasPropertyTemplates
(IfcTemplatedEntityList<::Ifc4::IfcPropertyTemplate>::ptr v)¶
-
IfcTemplatedEntityList<IfcRelDefinesByTemplate>::ptr
Defines
() const¶
-
IfcPropertySetTemplate
(IfcEntityInstanceData *e)¶
-
IfcPropertySetTemplate
(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory *v2_OwnerHistory, boost::optional<std::string> v3_Name, boost::optional<std::string> v4_Description, boost::optional<::Ifc4::IfcPropertySetTemplateTypeEnum::Value> v5_TemplateType, boost::optional<std::string> v6_ApplicableEntity, IfcTemplatedEntityList<::Ifc4::IfcPropertyTemplate>::ptr v7_HasPropertyTemplates)¶
-
typedef IfcTemplatedEntityList<IfcPropertySetTemplate>