Class Ifc2x3::IfcClassificationReference¶
Defined in File Ifc2x3.h
Nested Relationships¶
This class is a nested type of Struct Ifc2x3.
Inheritance Relationships¶
Base Type¶
public Ifc2x3::IfcExternalReference
(Class Ifc2x3::IfcExternalReference)
Class Documentation¶
-
class
Ifc2x3
::
IfcClassificationReference
: public Ifc2x3::IfcExternalReference¶ An IfcClassificationReference is a reference into a classification system or source (see IfcClassification) for a specific classification key (or notation).
The inherited attributes have the following meaning:
Identification: holds the key provided for a specific references to classification items (or tables). Name: allows for a human interpretable designation of a classification notation. Location: optionally holds a direct URI link into the classification system (or source) to hyperlink the classification key.
The IfcClassificationReference can either be assigned directly to the IfcClassification, such as if no classification hierarchy has to be included, or it references the parent classification notation, if the fully classification hierarchy is included in the data set. The attribute ReferencedSource then holds the following information (choice by IfcClassificationReferenceSelect):
being of type IfcClassification: direct reference to the classification system (with meta information provided), used for highest level of classification notations, or if the classification notation hierarchy is not relevant, being of type IfcClassificationReference: reference to the parent classification notation within the classification hierarchy.
HISTORY New entity in IFC 2x.
IFC2x4 CHANGE The attribute Description and inverse attribute HasReferences are added. The attribute Identification has been renamed from ItemReference.
Use definitions The IfcClassificationReference can be used to only assign classification keys to objects, or to hold a fully classification hierarchy. The first is refered to as “lightweight classification”, and the second as “full classification”
The IfcClassificationReference can be used as a form of ‘lightweight’ classification through the ‘Identification’ attribute inherited from the abstract IfcExternalReference class. In this case, the ‘Identification’ could take (for instance) the Uniclass notation “L6814” which, if the classification was well understood by all parties and was known to be taken from a particular classification source, would be sufficient. The Name attribute could be the title “Tanking”. This would remove the need for the overhead of the more complete classification structure of the model.
Public Types
-
typedef IfcTemplatedEntityList<IfcClassificationReference>
list
¶
Public Functions
-
bool
hasReferencedSource
() const¶ Whether the optional attribute ReferencedSource is defined for this IfcClassificationReference.
-
::Ifc2x3::IfcClassification *
ReferencedSource
() const¶ The classification system or source that is referenced.
-
void
setReferencedSource
(::Ifc2x3::IfcClassification *v)¶
-
IfcClassificationReference
(IfcEntityInstanceData *e)¶
-
IfcClassificationReference
(boost::optional<std::string> v1_Location, boost::optional<std::string> v2_ItemReference, boost::optional<std::string> v3_Name, ::Ifc2x3::IfcClassification *v4_ReferencedSource)¶
-
typedef IfcTemplatedEntityList<IfcClassificationReference>