Class Ifc4x2::IfcObjectDefinition

Nested Relationships

This class is a nested type of Struct Ifc4x2.

Inheritance Relationships

Base Type

Derived Types

Class Documentation

class Ifc4x2::IfcObjectDefinition : public Ifc4x2::IfcRoot

An IfcObjectDefinition is the generalization of any semantically treated thing or process, either being a type or an occurrences. Object defintions can be named, using the inherited Name attribute, which should be a user recognizable label for the object occurrance. Further explanations to the object can be given using the inherited Description attribute. A context is a specific kind of object definition as it provides the project or library context in which object types and object occurrences are defined. Objects are independent pieces of information that might contain or reference other pieces of information. There are four essential kinds of relationships in which object definitons (by their instantiable subtypes) can be involved:

Assignment of other objects - an assignment relationship (IfcRelAssigns) that refers to other types of objects and creates a bi-directional association. The semantic of the assignment is established at the level of the subtypes of the general IfcRelAssigns relationship. There is no dependency implied a priori by the assignment. Association to external resources - an association relationship (IfcRelAssociates) that refers to external sources of information (most notably a classification or document) and creates a uni-directional association. There is no dependency implied by the association. Aggregation of other objects - an aggregation relationship (IfcRelAggregates) that establishes an unordered, spatial whole/part relation and creates a bi-directional relation. There is an implied dependency established. Nesting of other objects - a nesting relationship (IfcRelNests) that establishes an ordered, non-spatial whole/part relation and creates a bi-directional relation. There is an implied dependency established. Declaration within a context - a relationship (IfcRelDeclares) of the uppermost object definition within the object definition tree (e.g. the summary object within an object nesting tree) to the context (a project or project library). It applies the units, representation context and other context information to this object definition and all dependent ones.

EXCEPTION The link between the uppermost object in the spatial structure tree, that is IfcSite or ifcBuilding, and the context provided by IfcProject is created using the IfcRelAggregates relationship. See IfcProject for more information.

HISTORY New abstract entity in IFC2x3.

IFC2x4 CHANGE The new subtype IfcContext and the relationship to context HasContext has been added . The decomposition relationship is split into ordered nesting (Nests, IsNestedBy) and un-ordered aggregating (Decomposes, IsDecomposedBy).

Subclassed by Ifc4x2::IfcContext, Ifc4x2::IfcObject, Ifc4x2::IfcTypeObject

Public Types

typedef IfcTemplatedEntityList<IfcObjectDefinition> list

Public Functions

IfcTemplatedEntityList<IfcRelAssigns>::ptr HasAssignments() const
IfcTemplatedEntityList<IfcRelNests>::ptr Nests() const
IfcTemplatedEntityList<IfcRelNests>::ptr IsNestedBy() const
IfcTemplatedEntityList<IfcRelDeclares>::ptr HasContext() const
IfcTemplatedEntityList<IfcRelAggregates>::ptr IsDecomposedBy() const
IfcTemplatedEntityList<IfcRelAggregates>::ptr Decomposes() const
IfcTemplatedEntityList<IfcRelAssociates>::ptr HasAssociations() const
const IfcParse::entity &declaration() const
IfcObjectDefinition(IfcEntityInstanceData *e)
IfcObjectDefinition(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory *v2_OwnerHistory, boost::optional<std::string> v3_Name, boost::optional<std::string> v4_Description)

Public Static Functions

const IfcParse::entity &Class()