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

#include <IfcPropertyTemplateDefinitionAutoImpl.h>

Inheritance diagram for OdIfc4x2::IfcPropertyTemplateDefinition:
OdIfc4x2::IfcPropertyDefinition OdIfc4x2::IfcRoot OdIfc4x2::OdIfc4x2Instance OdIfc::OdIfcInstance OdIfc4x2::IfcPropertySetTemplate OdIfc4x2::IfcPropertyTemplate OdIfc4x2::IfcComplexPropertyTemplate OdIfc4x2::IfcSimplePropertyTemplate

Public Member Functions

virtual OdDAI::Entity * getInstanceType () const override
 
virtual bool isKindOf (OdIfc::OdIfcEntityType entityType) const override
 
virtual OdIfc::OdIfcEntityType type () const override
 
- Public Member Functions inherited from OdIfc4x2::IfcPropertyDefinition
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 void unsetAttr (const char *explicitAttrName) override
 
virtual bool testAttr (const char *explicitAttrName) 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
 

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 Member Functions inherited from OdIfc4x2::IfcPropertyDefinition
virtual OdRxValue getAttr (const char *attrName) const override
 
virtual bool putAttr (const char *explicitAttrName, const OdRxValue &val) override
 
- 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

IfcPropertyTemplateDefinition is a generalization of all property and property set templates. Templates define the collection, types, names, applicable measure types and units of individual properties used in a project. The property template definition can be:

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.

Definition at line 49 of file Ifc4x2/IfcPropertyTemplateDefinitionAutoImpl.h.

Member Function Documentation

◆ getInstanceType()

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

Returns a type of a class instance.

Returns
Pointer to the <exref target=https://docs.opendesign.com/tkernel_api_cpp/OdDAI__Entity.html>>OdDAI::Entity</exref> type that determines an entity definition within a schema.

Reimplemented from OdIfc4x2::IfcPropertyDefinition.

Reimplemented in OdIfc4x2::IfcComplexPropertyTemplate, OdIfc4x2::IfcPropertySetTemplate, OdIfc4x2::IfcPropertyTemplate, and OdIfc4x2::IfcSimplePropertyTemplate.

◆ isKindOf()

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

Checks whether the specified instance is the object derived from or belongs to this class.

Parameters
entityType[in] Entity to check.
Returns
true if the specified instance is the object derived from or belongs to this class, false otherwise.

Reimplemented from OdIfc4x2::IfcPropertyDefinition.

Reimplemented in OdIfc4x2::IfcComplexPropertyTemplate, OdIfc4x2::IfcPropertySetTemplate, OdIfc4x2::IfcPropertyTemplate, and OdIfc4x2::IfcSimplePropertyTemplate.

◆ type()

virtual OdIfc::OdIfcEntityType OdIfc4x2::IfcPropertyTemplateDefinition::type ( ) const
overridevirtual

Returns the type of this entity.

Returns
A value of the <exref target=https://docs.opendesign.com/tkernel_api_cpp/OdIfc__OdIfcEntityType.html>>OdIfc::OdIfcEntityType</exref> type that represents type of this entity.

Reimplemented from OdIfc4x2::IfcPropertyDefinition.

Reimplemented in OdIfc4x2::IfcComplexPropertyTemplate, OdIfc4x2::IfcPropertySetTemplate, OdIfc4x2::IfcPropertyTemplate, and OdIfc4x2::IfcSimplePropertyTemplate.


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