Class Ifc4::IfcRelAssigns¶
Defined in File Ifc4.h
Nested Relationships¶
This class is a nested type of Struct Ifc4.
Inheritance Relationships¶
Base Type¶
public Ifc4::IfcRelationship
(Class Ifc4::IfcRelationship)
Derived Types¶
public Ifc4::IfcRelAssignsToActor
(Class Ifc4::IfcRelAssignsToActor)public Ifc4::IfcRelAssignsToControl
(Class Ifc4::IfcRelAssignsToControl)public Ifc4::IfcRelAssignsToGroup
(Class Ifc4::IfcRelAssignsToGroup)public Ifc4::IfcRelAssignsToProcess
(Class Ifc4::IfcRelAssignsToProcess)public Ifc4::IfcRelAssignsToProduct
(Class Ifc4::IfcRelAssignsToProduct)public Ifc4::IfcRelAssignsToResource
(Class Ifc4::IfcRelAssignsToResource)
Class Documentation¶
-
class
Ifc4
::
IfcRelAssigns
: public Ifc4::IfcRelationship¶ The assignment relationship, IfcRelAssigns, is a generalization of “link” relationships among instances of IfcObject and its various 1st level subtypes. A link denotes the specific association through which one object (the client) applies the services of other objects (the suppliers), or through which one object may navigate to other objects.
The client is denoted as the relating object and is established at the level of the specific, instantiable subtypes of IfcRelAssigns. The suppliers are denoted as the related objects and they are established by the RelatedObjects attribute.
NOTE: The terms “client” and “supplier” are used in a general concept and do not imply any meaning for implementations of systems (like client-server).
EXAMPLE: A resource may receive information about its nature of representing real building products by establishing a link between IfcResource and IfcBuildingElement (subtype of IfcProduct) through the assignment relationship IfcRelAssignsToResource. The resource is then the client that applies the services of other objects (here building elements) to express the particular view of elements to be consumed as a resource in a process.
The assignment relationship establishs a bi-directional relationship among the participating objects and does not imply any dependency. The subtypes of IfcRelAssigns establishes the particular semantic meaning of the assignment relationship.
HISTORY: New entity in IFC Release 2x.
Subclassed by Ifc4::IfcRelAssignsToActor, Ifc4::IfcRelAssignsToControl, Ifc4::IfcRelAssignsToGroup, Ifc4::IfcRelAssignsToProcess, Ifc4::IfcRelAssignsToProduct, Ifc4::IfcRelAssignsToResource
Public Types
-
typedef IfcTemplatedEntityList<IfcRelAssigns>
list
¶
Public Functions
-
IfcTemplatedEntityList<::Ifc4::IfcObjectDefinition>::ptr
RelatedObjects
() const¶ Related objects, which are assigned to a single object. The type of the single (or relating) object is defined in the subtypes of IfcRelAssigns.
-
void
setRelatedObjects
(IfcTemplatedEntityList<::Ifc4::IfcObjectDefinition>::ptr v)¶
-
bool
hasRelatedObjectsType
() const¶ Whether the optional attribute RelatedObjectsType is defined for this IfcRelAssigns.
-
::Ifc4::IfcObjectTypeEnum::Value
RelatedObjectsType
() const¶ Particular type of the assignment relationship. It can constrain the applicable object types, used within the role of RelatedObjects. IFC2x4 CHANGE The attribute is deprecated and shall no longer be used. A NIL value should always be assigned.
-
void
setRelatedObjectsType
(::Ifc4::IfcObjectTypeEnum::Value v)¶
-
IfcRelAssigns
(IfcEntityInstanceData *e)¶
-
IfcRelAssigns
(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory *v2_OwnerHistory, boost::optional<std::string> v3_Name, boost::optional<std::string> v4_Description, IfcTemplatedEntityList<::Ifc4::IfcObjectDefinition>::ptr v5_RelatedObjects, boost::optional<::Ifc4::IfcObjectTypeEnum::Value> v6_RelatedObjectsType)¶
-
typedef IfcTemplatedEntityList<IfcRelAssigns>