Class Ifc4x2::IfcTypeObject

Nested Relationships

This class is a nested type of Struct Ifc4x2.

Inheritance Relationships

Base Type

Derived Types

Class Documentation

class Ifc4x2::IfcTypeObject : public Ifc4x2::IfcObjectDefinition

The object type defines the specific information about a type, being common to all occurrences of this type. It refers to the specific level of the well recognized generic - specific - occurrance modeling paradigm. The IfcTypeObject gets assigned to the individual object instances (the occurrences) via the IfcRelDefinesByType relationship. NOTE The terms ‘Type’ and ‘Style’ are often used interchangeably. The object type is represented by a set of property set definitions. The attached property sets describe the available alpha-numeric information about the object type. and are used to define all common properties that apply to all object occurrences of that type. NOTE If a property having having the same name is used within the IfcPropertySet assigned to an IfcTypeObject (and subtypes) and to an occurrence of that type, then the occurrence property overrides the type property. See IfcRelDefinesByType for an explanatory figure. Object types may be exchanged without being already assigned to objects. An object type may have an indication of the library (or catalogue) from which its definition originates. This association is handled by the inherited HasAssociations relationship pointing to IfcRelAssociatesLibrary.

HISTORY New entity in IFC Release 2x

IFC2x3 CHANGE The IfcTypeObject is now subtyped from the new supertype IfcObjectDefinition, and the attribute HasPropertySets has been changed from a LIST into a SET.

IFC2x4 CHANGE (1) The entity IfcTypeObject shall not be instantiated from IFC2x4 onwards. It will be changed into an ABSTRACT supertype in future releases of IFC. (2) The inverse attribute Types has been renamed from ObjectTypeOf.

Subclassed by Ifc4x2::IfcTypeProcess, Ifc4x2::IfcTypeProduct, Ifc4x2::IfcTypeResource

Public Types

typedef IfcTemplatedEntityList<IfcTypeObject> list

Public Functions

bool hasApplicableOccurrence() const

Whether the optional attribute ApplicableOccurrence is defined for this IfcTypeObject.

std::string ApplicableOccurrence() const

The attribute optionally defines the data type of the occurrence object, to which the assigned type object can relate. If not present, no instruction is given to which occurrence object the type object is applicable. The following conventions are used:

The IFC entity name of the applicable occurrence using the IFC naming convention, CamelCase with IFC prefix It can be optionally followed by the predefined type after the separator “/” (forward slash), using Uupper case If one type object is applicable to many occurrence objects, then those occurrence object names should be separate by comma “,” forming a comma separated string.

EXAMPLE Refering to a furniture as applicable occurrence entity would be expressed as ‘IfcFurnishingElement’, refering to a brace as applicable entity would be expressed as ‘IfcMember/BRACE’, refering to a wall and wall standard case would be expressed as ‘IfcWall, IfcWallStandardCase’.

void setApplicableOccurrence(std::string v)
bool hasHasPropertySets() const

Whether the optional attribute HasPropertySets is defined for this IfcTypeObject.

IfcTemplatedEntityList<::Ifc4x2::IfcPropertySetDefinition>::ptr HasPropertySets() const

Set list of unique property sets, that are associated with the object type and are common to all object occurrences referring to this object type.

IFC2x3 CHANGE The attribute aggregate type has been changed from LIST to SET.

void setHasPropertySets(IfcTemplatedEntityList<::Ifc4x2::IfcPropertySetDefinition>::ptr v)
IfcTemplatedEntityList<IfcRelDefinesByType>::ptr Types() const
const IfcParse::entity &declaration() const
IfcTypeObject(IfcEntityInstanceData *e)
IfcTypeObject(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory *v2_OwnerHistory, boost::optional<std::string> v3_Name, boost::optional<std::string> v4_Description, boost::optional<std::string> v5_ApplicableOccurrence, boost::optional<IfcTemplatedEntityList<::Ifc4x2::IfcPropertySetDefinition>::ptr> v6_HasPropertySets)

Public Static Functions

const IfcParse::entity &Class()