CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdIfc2x_final::IfcPropertyDefinition Class Reference

#include <IfcPropertyDefinitionAutoImpl.h>

Inheritance diagram for OdIfc2x_final::IfcPropertyDefinition:
OdIfc2x_final::IfcRoot OdIfc2x_final::OdIfc2x_FinalInstance OdIfc::OdIfcInstance OdIfc2x_final::IfcPropertySetDefinition OdIfc2x_final::IfcTypeObject OdIfc2x_final::IfcDoorLiningProperties OdIfc2x_final::IfcDoorPanelProperties OdIfc2x_final::IfcElectricalBaseProperties OdIfc2x_final::IfcElementQuantity OdIfc2x_final::IfcFluidFlowProperties OdIfc2x_final::IfcManufacturerInformation OdIfc2x_final::IfcPermeableCoveringProperties OdIfc2x_final::IfcPropertySet OdIfc2x_final::IfcSpaceThermalLoad OdIfc2x_final::IfcWindowLiningProperties OdIfc2x_final::IfcWindowPanelProperties OdIfc2x_final::IfcTypeProduct

Public Member Functions

void getInvHasAssociations (OdDAIObjectIds &HasAssociations) const
 
virtual OdResult inFields (OdDAI::OdSpfFilerBase *rdFiler) override
 
virtual OdResult outFields (OdDAI::OdSpfFilerBase *wrFiler) override
 
virtual OdDAI::Entity * getInstanceType () const override
 
virtual void unsetAttr (const char *explicitAttrName) override
 
virtual bool testAttr (const char *explicitAttrName) const 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 OdIfc2x_final::IfcRoot
OdDAI::CompressedGUID getGlobalId () const
 
void setGlobalId (OdDAI::CompressedGUID GlobalId)
 
const OdDAIObjectId & getOwnerHistory () const
 
void setOwnerHistory (const OdDAIObjectId &OwnerHistory)
 
const OdAnsiString & getName () const
 
void setName (const OdAnsiString &Name)
 
const OdAnsiString & getDescription () const
 
void setDescription (const OdAnsiString &Description)
 
 IfcRoot ()
 
- 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 OdGsCachegsNode () const
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *traits) const
 
virtual bool subWorldDraw (OdGiWorldDraw *wd) const
 
virtual OdDbStub * ownerId () const
 

Protected Member Functions

virtual OdRxValue getAttr (const char *attrName) const override
 
virtual bool putAttr (const char *explicitAttrName, const OdRxValue &val) override
 

Friends

class IfcRelAssociates
 

Additional Inherited Members

- Static Public Member Functions inherited from OdIfc::OdIfcInstance
static const OdGePoint3dasPoint3d (const OdIfcInstance *inst)
 
static const OdGePoint2dasPoint2d (const OdIfcInstance *inst)
 
static const OdGeVector3dasVector3d (const OdIfcInstance *inst)
 
static const OdGeVector2dasVector2d (const OdIfcInstance *inst)
 
static const OdGeMatrix2dasMatrix2d (const OdIfcInstance *inst)
 
static const OdGeMatrix3dasMatrix3d (const OdIfcInstance *inst)
 
static OdIfcCompoundPtr asCompound (OdSmartPtr< OdIfcInstance > inst)
 
static const OdCmEntityColorasRgbColor (const OdIfcInstance *inst)
 
- Protected Attributes inherited from OdIfc2x_final::IfcRoot
OdDAI::CompressedGUID m_GlobalId
 
OdDAIObjectId m_OwnerHistory
 
OdAnsiString m_Name
 
OdAnsiString m_Description
 
- Protected Attributes inherited from OdIfc::OdIfcInstance
voidm_resPtr
 
IfcOpResult m_resolved
 

Detailed Description

IfcPropertyDefinition defines the generalization of all characteristics (i.e. a grouping of individual properties), that can be assigned to objects. Currently, subtypes of IfcPropertyDefinition include property set occurrences, property set templates and property templates.

Property set template - IfcPropertySetTemplate, a collection of property templates that determine the definition of properties used within a project context.
Property template - IfcPropertyTemplate, a single template that determines the definition of a particular property used in the same project context. 
The template can determine the name, description, data type, the unit, or a standard expression for each property that is based on that template.
Property set occurrence - IfcPropertySet, a set of individual properties (that may or may not be determined by a property template) holding individual values, 
measure types and units, and are associated to an object occurrence or object type.

Property definitions define information that is shared among multiple instances of objects, either object occurrences or object types. IfcPropertyDefinition's (by their instantiable subtypes) can participate within the following relationships: Assignment to a project context - an HasContext relationship to IfcRelDeclares that establishes the project context in which this property definition is declared. This relationship is mostly applicable to subtypes of IfcPropertyTemplateDefinition. Association to external resources - an HasAssociation relationship to 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.

Remarks
The subtype hierarchy of IfcPropertyDefinition also includes statically defined property sets as IfcPreDefinedPropertySet. Those are rarely used collections of fixed attributes combined in an entity definition. The IfcPreDefinedPropertySet can not be determined by an IfcPropertySetTemplate. Individual properties, (subtypes of IfcProperty), are currently not included in the subtype hierarchy of IfcPropertyDefinition. This is due to upward compatibility reasons with earlier releases of this standard.

Definition at line 61 of file Ifc2x_Final/IfcPropertyDefinitionAutoImpl.h.

Member Function Documentation

◆ getAttr() [1/2]

virtual OdRxValue OdIfc2x_final::IfcRoot::getAttr ( const char * attrName) const
overrideprotectedvirtual

Returns an attribute value for the specified attribute name.

Parameters
attrName[in] Name of an attribute to query.
Returns
OdRxValue object that represents a generic variant type value.

Reimplemented from OdIfc2x_final::IfcRoot.

Reimplemented in OdIfc2x_final::IfcPropertySet, OdIfc2x_final::IfcPropertySetDefinition, OdIfc2x_final::IfcSpaceThermalLoad, OdIfc2x_final::IfcTypeObject, OdIfc2x_final::IfcTypeProduct, OdIfc2x_final::IfcWindowLiningProperties, OdIfc2x_final::IfcWindowPanelProperties, and OdIfc2x_final::IfcWindowStyle.

◆ getAttr() [2/2]

◆ getInstanceType()

◆ getInvHasAssociations()

void OdIfc2x_final::IfcPropertyDefinition::getInvHasAssociations ( OdDAIObjectIds & HasAssociations) const

Returns the value of HasAssociations attribute. This attribute represents reference to the relationship IfcRelAssociates and thus to those externally defined concepts, like classifications, documents, or library information, which are associated to the property definition.

Parameters
HasAssociations[out] Receives the value of HasAssociations attribute.

◆ inFields()

◆ isKindOf()

◆ outFields()

◆ putAttr() [1/2]

virtual bool OdIfc2x_final::IfcRoot::putAttr ( const char * explicitAttrName,
const OdRxValue & val )
overrideprotectedvirtual

Sets the specified attribute with a given value.

Parameters
explicitAttrName[in] Explicit name of the attribute to set.
val[in] Value to set.
Returns
true if the value is successfully set for the specified attribute, false otherwise.

Reimplemented from OdIfc2x_final::IfcRoot.

Reimplemented in OdIfc2x_final::IfcPropertySet, OdIfc2x_final::IfcPropertySetDefinition, OdIfc2x_final::IfcSpaceThermalLoad, OdIfc2x_final::IfcTypeObject, OdIfc2x_final::IfcTypeProduct, OdIfc2x_final::IfcWindowLiningProperties, OdIfc2x_final::IfcWindowPanelProperties, and OdIfc2x_final::IfcWindowStyle.

◆ putAttr() [2/2]

◆ testAttr() [1/2]

◆ testAttr() [2/2]

◆ type()

◆ unsetAttr() [1/2]

◆ unsetAttr() [2/2]

Friends And Related Symbol Documentation

◆ IfcRelAssociates

friend class IfcRelAssociates
friend

Definition at line 177 of file Ifc2x_Final/IfcPropertyDefinitionAutoImpl.h.


The documentation for this class was generated from the following file: