|
CFx SDK Documentation 2026 SP0
|
#include <IfcReferenceAutoImpl.h>
Public Member Functions | |
| const OdAnsiString & | getTypeIdentifier () const |
| void | setTypeIdentifier (const OdAnsiString &TypeIdentifier) |
| const OdAnsiString & | getAttributeIdentifier () const |
| void | setAttributeIdentifier (const OdAnsiString &AttributeIdentifier) |
| const OdAnsiString & | getInstanceName () const |
| void | setInstanceName (const OdAnsiString &InstanceName) |
| void | getListPositions (OdArray< int > &ListPositions) const |
| OdDAI::ListOfInt & | listPositions () |
| const OdDAIObjectId & | getInnerReference () const |
| void | setInnerReference (const OdDAIObjectId &InnerReference) |
| IfcReference () | |
| virtual OdResult | inFields (OdDAI::OdSpfFilerBase *rdFiler) override |
| virtual OdResult | outFields (OdDAI::OdSpfFilerBase *wrFiler) override |
| virtual OdDAI::Entity * | getInstanceType () const override |
| virtual OdRxValue | getAttr (const char *attrName) const override |
| virtual bool | comparedToEarlyImpl (const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const override |
| virtual void | unsetAttr (const char *explicitAttrName) override |
| virtual bool | testAttr (const char *explicitAttrName) const override |
| virtual bool | putAttr (const char *explicitAttrName, const OdRxValue &val) override |
| virtual bool | isKindOf (OdIfc::OdIfcEntityType entityType) const override |
| virtual OdIfc::OdIfcEntityType | type () const override |
| virtual OdRxValue | getAttr (const OdIfc::OdIfcAttribute attrDef) const override |
| virtual void | unsetAttr (const OdIfc::OdIfcAttribute explicitAttrDef) override |
| virtual bool | testAttr (const OdIfc::OdIfcAttribute explicitAttrDef) const override |
| virtual bool | putAttr (const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override |
Public Member Functions inherited from OdIfc4x3_add2::OdIfc4x3Instance | |
| void | setInverseCounterParts () override |
Public Member Functions inherited from OdIfc::OdIfcInstance | |
| ODRX_DECLARE_MEMBERS (OdIfcInstance) | |
| OdIfcInstance () | |
| ~OdIfcInstance () | |
| bool | isInstanceOf (OdIfcEntityType entityType) const |
| IfcOpResult | resolved () |
| void | resolve (IfcOpResult resolved, void *resPtr) |
| void | unresolve () |
| virtual void | setGsNode (OdGsCache *pGsNode) |
| virtual OdGsCache * | gsNode () const |
| virtual OdUInt32 | subSetAttributes (OdGiDrawableTraits *traits) const |
| virtual bool | subWorldDraw (OdGiWorldDraw *wd) const |
| virtual OdDbStub * | ownerId () const |
Protected Attributes | |
| OdAnsiString | m_TypeIdentifier |
| OdAnsiString | m_AttributeIdentifier |
| OdAnsiString | m_InstanceName |
| OdDAI::ListOfInt | m_ListPositions |
| OdDAIObjectId | m_InnerReference |
Protected Attributes inherited from OdIfc::OdIfcInstance | |
| void * | m_resPtr |
| IfcOpResult | m_resolved |
Additional Inherited Members | |
Static Public Member Functions inherited from OdIfc::OdIfcInstance | |
| static const OdGePoint3d * | asPoint3d (const OdIfcInstance *inst) |
| static const OdGePoint2d * | asPoint2d (const OdIfcInstance *inst) |
| static const OdGeVector3d * | asVector3d (const OdIfcInstance *inst) |
| static const OdGeVector2d * | asVector2d (const OdIfcInstance *inst) |
| static const OdGeMatrix2d * | asMatrix2d (const OdIfcInstance *inst) |
| static const OdGeMatrix3d * | asMatrix3d (const OdIfcInstance *inst) |
| static OdIfcCompoundPtr | asCompound (OdSmartPtr< OdIfcInstance > inst) |
| static const OdCmEntityColor * | asRgbColor (const OdIfcInstance *inst) |
This entity is used to refer to a value of an attribute on an instance. It can refer to the value of a scalar attribute or a value within a collection-based attribute.
An example of chained references to refer to a core layer thickness:
<IMAGE ifcreference_chained_reference>
Definition at line 53 of file Ifc4x3/IfcReferenceAutoImpl.h.
| OdIfc4x3_add2::IfcReference::IfcReference | ( | ) |
Default constructor for the IfcReference class.
|
overridevirtual |
Early-bound version of instances comparison.
| pOther | [in] Other application instance. |
| ordering | [out] Receives the ordering (comparison) status. |
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc::OdIfcInstance.
| const OdAnsiString & OdIfc4x3_add2::IfcReference::getAttributeIdentifier | ( | ) | const |
Returns the value of AttributeIdentifier attribute. This attribute optionally identifies a direct or inverse attribute within an entity such as 'MaterialLayers'. If TypeIdentifier is specified and refers to an entity, the attribute must exist within the referenced entity. A null value indicates a reference to the type or entity itself, such as for indicating that the type of a value must match a specified constraint.
| const OdDAIObjectId & OdIfc4x3_add2::IfcReference::getInnerReference | ( | ) | const |
Returns the value of InnerReference attribute. This attribute represents optional reference to an inner value for ENTITY, SELECT, SET, or LIST attributes. A path can be formed by linking IfcReference instances together.
#1=IFCREFERENCE($,'IfcSlab','HasAssociations',#2); #2=IFCREFERENCE($,'IfcMaterialLayerSet','MaterialLayers',#3); #3=IFCREFERENCE('Core','IfcMaterialLayer','LayerThickness',$);
| const OdAnsiString & OdIfc4x3_add2::IfcReference::getInstanceName | ( | ) | const |
Returns the value of InstanceName attribute. This attribute optionally identifies an instance within a collection according to name. If the instance has an attribute called 'Name', such attribute is used for comparison; otherwise the first STRING-based attribute of the entity is used.
|
overridevirtual |
Returns a type of a class instance.
Gets the value of ListPositions attribute. This attribute optionally identifies an instance within a collection according to position starting at 1. For referencing single-level collections, this attribute contains a single member; for referencing multi-level collections, then this LIST attribute contains multiple members starting from the outer-most index.
| ListPositions | [out] Receives the list positions. |
| const OdAnsiString & OdIfc4x3_add2::IfcReference::getTypeIdentifier | ( | ) | const |
Returns the value of TypeIdentifier attribute. This attribute represents optional identifier of the entity or type such as 'IfcMaterialLayerSet'. For entity, type, or select-based references within a collection, this resolves the reference to such type. If omitted, the type is assumed to be the same as the declared referencing attribute.
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc::OdIfcInstance.
| OdDAI::ListOfInt & OdIfc4x3_add2::IfcReference::listPositions | ( | ) |
Returns the value of ListPositions attribute. This attribute optionally identifies an instance within a collection according to position starting at 1. For referencing single-level collections, this attribute contains a single member; for referencing multi-level collections, then this LIST attribute contains multiple members starting from the outer-most index.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrName | [in] Explicit name of the attribute to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc::OdIfcInstance.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc::OdIfcInstance.
| void OdIfc4x3_add2::IfcReference::setAttributeIdentifier | ( | const OdAnsiString & | AttributeIdentifier | ) |
Sets the value of AttributeIdentifier attribute. This attribute optionally identifies a direct or inverse attribute within an entity such as 'MaterialLayers'. If TypeIdentifier is specified and refers to an entity, the attribute must exist within the referenced entity. A null value indicates a reference to the type or entity itself, such as for indicating that the type of a value must match a specified constraint.
| AttributeIdentifier | [in] Attribute identifier to set. |
| void OdIfc4x3_add2::IfcReference::setInnerReference | ( | const OdDAIObjectId & | InnerReference | ) |
Sets the value of InnerReference attribute. This attribute represents optional reference to an inner value for ENTITY, SELECT, SET, or LIST attributes. A path can be formed by linking IfcReference instances together.
| InnerReference | [in] Inner reference to set. |
#1=IFCREFERENCE($,'IfcSlab','HasAssociations',#2); #2=IFCREFERENCE($,'IfcMaterialLayerSet','MaterialLayers',#3); #3=IFCREFERENCE('Core','IfcMaterialLayer','LayerThickness',$);
| void OdIfc4x3_add2::IfcReference::setInstanceName | ( | const OdAnsiString & | InstanceName | ) |
Sets the value of InstanceName attribute. This attribute represents optionally identifies an instance within a collection according to name. If the instance has an attribute called 'Name', such attribute is used for comparison; otherwise the first STRING-based attribute of the entity is used.
| InstanceName | [in] Instance name to set. |
| void OdIfc4x3_add2::IfcReference::setTypeIdentifier | ( | const OdAnsiString & | TypeIdentifier | ) |
Sets the value of TypeIdentifier attribute. This attribute represents optional identifier of the entity or type such as 'IfcMaterialLayerSet'. For entity, type, or select-based references within a collection, this resolves the reference to such type. If omitted, the type is assumed to be the same as the declared referencing attribute.
| TypeIdentifier | [in] Type identifier to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc::OdIfcInstance.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc::OdIfcInstance.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc::OdIfcInstance.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc::OdIfcInstance.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc::OdIfcInstance.
|
protected |
Definition at line 316 of file Ifc4x3/IfcReferenceAutoImpl.h.
|
protected |
Definition at line 320 of file Ifc4x3/IfcReferenceAutoImpl.h.
|
protected |
Definition at line 317 of file Ifc4x3/IfcReferenceAutoImpl.h.
|
protected |
Definition at line 318 of file Ifc4x3/IfcReferenceAutoImpl.h.
|
protected |
Definition at line 315 of file Ifc4x3/IfcReferenceAutoImpl.h.