Class Ifc4x1::IfcDocumentInformationRelationship

Nested Relationships

This class is a nested type of Struct Ifc4x1.

Inheritance Relationships

Base Type

Class Documentation

class Ifc4x1::IfcDocumentInformationRelationship : public Ifc4x1::IfcResourceLevelRelationship

An IfcDocumentInformationRelationship is a relationship class that enables a document to have the ability to reference other documents.

HISTORY New entity in Release IFC2x.

IFC2x4 CHANGE Subtyped from IfcResourceLevelRelationship, order of attributes changed.

Use definitions This class can be used to describe relationships in which one document may reference one or more other sub documents or where a document is used as a replacement for another document (but where both the original and the replacing document need to be retained).

Public Functions

::Ifc4x1::IfcDocumentInformation *RelatingDocument() const

The document that acts as the parent, referencing or original document in a relationship.

void setRelatingDocument(::Ifc4x1::IfcDocumentInformation *v)
IfcTemplatedEntityList<::Ifc4x1::IfcDocumentInformation>::ptr RelatedDocuments() const

The document that acts as the child, referenced or replacing document in a relationship.

void setRelatedDocuments(IfcTemplatedEntityList<::Ifc4x1::IfcDocumentInformation>::ptr v)
bool hasRelationshipType() const

Whether the optional attribute RelationshipType is defined for this IfcDocumentInformationRelationship.

std::string RelationshipType() const

Describes the type of relationship between documents. This could be sub-document, replacement etc. The interpretation has to be established in an application context.

void setRelationshipType(std::string v)
const IfcParse::entity &declaration() const
IfcDocumentInformationRelationship(IfcEntityInstanceData *e)
IfcDocumentInformationRelationship(boost::optional<std::string> v1_Name, boost::optional<std::string> v2_Description, ::Ifc4x1::IfcDocumentInformation *v3_RelatingDocument, IfcTemplatedEntityList<::Ifc4x1::IfcDocumentInformation>::ptr v4_RelatedDocuments, boost::optional<std::string> v5_RelationshipType)

Public Static Functions

const IfcParse::entity &Class()