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

#include <IfcPropertyDefinitionAutoImpl.h>

Inheritance diagram for OdIfc4x2::IfcPropertyDefinition:
OdIfc4x2::IfcRoot OdIfc4x2::OdIfc4x2Instance OdIfc::OdIfcInstance OdIfc4x2::IfcPropertySetDefinition OdIfc4x2::IfcPropertyTemplateDefinition OdIfc4x2::IfcPreDefinedPropertySet OdIfc4x2::IfcPropertySet OdIfc4x2::IfcQuantitySet OdIfc4x2::IfcPropertySetTemplate OdIfc4x2::IfcPropertyTemplate OdIfc4x2::IfcDoorLiningProperties OdIfc4x2::IfcDoorPanelProperties OdIfc4x2::IfcPermeableCoveringProperties OdIfc4x2::IfcReinforcementDefinitionProperties OdIfc4x2::IfcWindowLiningProperties OdIfc4x2::IfcWindowPanelProperties OdIfc4x2::IfcElementQuantity OdIfc4x2::IfcComplexPropertyTemplate OdIfc4x2::IfcSimplePropertyTemplate

Public Member Functions

void getInvHasContext (OdDAIObjectIds &HasContext) const
 
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 OdIfc4x2::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 OdIfc4x2::OdIfc4x2Instance
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 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 IfcRelDeclares
 
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 OdIfc4x2::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 Ifc4x2/IfcPropertyDefinitionAutoImpl.h.

Member Function Documentation

◆ getAttr() [1/2]

virtual OdRxValue OdIfc4x2::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 OdIfc4x2::IfcRoot.

Reimplemented in OdIfc4x2::IfcPropertySet, OdIfc4x2::IfcPropertySetDefinition, OdIfc4x2::IfcPropertySetTemplate, OdIfc4x2::IfcPropertyTemplate, OdIfc4x2::IfcReinforcementDefinitionProperties, OdIfc4x2::IfcSimplePropertyTemplate, OdIfc4x2::IfcWindowLiningProperties, and OdIfc4x2::IfcWindowPanelProperties.

◆ getAttr() [2/2]

virtual OdRxValue OdIfc4x2::IfcPropertyDefinition::getAttr ( const OdIfc::OdIfcAttribute attrDef) const
overridevirtual

◆ getInstanceType()

virtual OdDAI::Entity * OdIfc4x2::IfcPropertyDefinition::getInstanceType ( ) const
overridevirtual

◆ getInvHasAssociations()

void OdIfc4x2::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.

◆ getInvHasContext()

void OdIfc4x2::IfcPropertyDefinition::getInvHasContext ( OdDAIObjectIds & HasContext) const

Returns the value of HasContext attribute. This attribute is an assignment to a project context relationship that establishes the project context in which this property definition is declared.

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

◆ inFields()

virtual OdResult OdIfc4x2::IfcPropertyDefinition::inFields ( OdDAI::OdSpfFilerBase * rdFiler)
overridevirtual

◆ isKindOf()

virtual bool OdIfc4x2::IfcPropertyDefinition::isKindOf ( OdIfc::OdIfcEntityType entityType) const
overridevirtual

◆ outFields()

virtual OdResult OdIfc4x2::IfcPropertyDefinition::outFields ( OdDAI::OdSpfFilerBase * wrFiler)
overridevirtual

◆ putAttr() [1/2]

virtual bool OdIfc4x2::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 OdIfc4x2::IfcRoot.

Reimplemented in OdIfc4x2::IfcPropertySet, OdIfc4x2::IfcPropertySetDefinition, OdIfc4x2::IfcPropertySetTemplate, OdIfc4x2::IfcPropertyTemplate, OdIfc4x2::IfcReinforcementDefinitionProperties, OdIfc4x2::IfcSimplePropertyTemplate, OdIfc4x2::IfcWindowLiningProperties, and OdIfc4x2::IfcWindowPanelProperties.

◆ putAttr() [2/2]

virtual bool OdIfc4x2::IfcPropertyDefinition::putAttr ( const OdIfc::OdIfcAttribute explicitAttrDef,
const OdRxValue & val )
overridevirtual

◆ testAttr() [1/2]

virtual bool OdIfc4x2::IfcPropertyDefinition::testAttr ( const char * explicitAttrName) const
overridevirtual

◆ testAttr() [2/2]

virtual bool OdIfc4x2::IfcPropertyDefinition::testAttr ( const OdIfc::OdIfcAttribute explicitAttrDef) const
overridevirtual

◆ type()

◆ unsetAttr() [1/2]

◆ unsetAttr() [2/2]

Friends And Related Symbol Documentation

◆ IfcRelAssociates

friend class IfcRelAssociates
friend

Definition at line 186 of file Ifc4x2/IfcPropertyDefinitionAutoImpl.h.

◆ IfcRelDeclares

friend class IfcRelDeclares
friend

Definition at line 185 of file Ifc4x2/IfcPropertyDefinitionAutoImpl.h.


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