|
CFx SDK Documentation 2026 SP0
|
#include <IfcPropertyAutoImpl.h>
Public Member Functions | |
| const OdAnsiString & | getName () const |
| void | setName (const OdAnsiString &Name) |
| const OdAnsiString & | getDescription () const |
| void | setDescription (const OdAnsiString &Description) |
| void | getInvPartOfPset (OdDAIObjectIds &PartOfPset) const |
| void | getInvPropertyForDependance (OdDAIObjectIds &PropertyForDependance) const |
| void | getInvPropertyDependsOn (OdDAIObjectIds &PropertyDependsOn) const |
| void | getInvPartOfComplex (OdDAIObjectIds &PartOfComplex) const |
| void | getInvHasConstraints (OdDAIObjectIds &HasConstraints) const |
| void | getInvHasApprovals (OdDAIObjectIds &HasApprovals) const |
| IfcProperty () | |
| 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 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 OdIfc4x2::IfcPropertyAbstraction | |
| void | getInvHasExternalReferences (OdDAIObjectIds &HasExternalReferences) const |
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 OdGsCache * | gsNode () const |
| virtual OdUInt32 | subSetAttributes (OdGiDrawableTraits *traits) const |
| virtual bool | subWorldDraw (OdGiWorldDraw *wd) const |
| virtual OdDbStub * | ownerId () const |
Protected Attributes | |
| OdAnsiString | m_Name |
| OdAnsiString | m_Description |
Protected Attributes inherited from OdIfc::OdIfcInstance | |
| void * | m_resPtr |
| IfcOpResult | m_resolved |
Friends | |
| class | IfcPropertySet |
| class | IfcPropertyDependencyRelationship |
| class | IfcComplexProperty |
| class | IfcResourceConstraintRelationship |
| class | IfcResourceApprovalRelationship |
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) |
IfcProperty is an abstract generalization for all types of properties that can be associated with IFC objects through the property set mechanism.
\changes
IFC4 changes: Type of the inverse attribute PartOfComplex changed from "SET OF [0:1] IfcComplexProperty FOR HasProperties" to "SET OF [0:?] IfcComplexProperty FOR HasProperties"
Definition at line 45 of file Ifc4x2/IfcPropertyAutoImpl.h.
| OdIfc4x2::IfcProperty::IfcProperty | ( | ) |
Default constructor for the IfcProperty class.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented in OdIfc4x2::IfcComplexProperty, OdIfc4x2::IfcPropertyBoundedValue, OdIfc4x2::IfcPropertyEnumeratedValue, OdIfc4x2::IfcPropertyListValue, OdIfc4x2::IfcPropertyReferenceValue, OdIfc4x2::IfcPropertySingleValue, and OdIfc4x2::IfcPropertyTableValue.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc4x2::IfcPropertyAbstraction.
Reimplemented in OdIfc4x2::IfcComplexProperty, OdIfc4x2::IfcPropertyBoundedValue, OdIfc4x2::IfcPropertyEnumeratedValue, OdIfc4x2::IfcPropertyListValue, OdIfc4x2::IfcPropertyReferenceValue, OdIfc4x2::IfcPropertySingleValue, and OdIfc4x2::IfcPropertyTableValue.
| const OdAnsiString & OdIfc4x2::IfcProperty::getDescription | ( | ) | const |
Returns the value of Description attribute. Description is informative text to explain the property.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc4x2::IfcPropertyAbstraction.
Reimplemented in OdIfc4x2::IfcComplexProperty, OdIfc4x2::IfcPropertyBoundedValue, OdIfc4x2::IfcPropertyEnumeratedValue, OdIfc4x2::IfcPropertyListValue, OdIfc4x2::IfcPropertyReferenceValue, OdIfc4x2::IfcPropertySingleValue, OdIfc4x2::IfcPropertyTableValue, and OdIfc4x2::IfcSimpleProperty.
| void OdIfc4x2::IfcProperty::getInvHasApprovals | ( | OdDAIObjectIds & | HasApprovals | ) | const |
Returns the value of HasApprovals attribute. HasApprovals is user-defined approvals for the property.
| HasApprovals | [out] Receives object identifiers representing the HasApprovals attribute. |
| void OdIfc4x2::IfcProperty::getInvHasConstraints | ( | OdDAIObjectIds & | HasConstraints | ) | const |
Returns the value of HasConstraints attribute. HasConstraints attribute is user-defined constraints for the property.
| HasConstraints | [out] Receives object identifiers representing the HasConstraints attribute. |
| void OdIfc4x2::IfcProperty::getInvPartOfComplex | ( | OdDAIObjectIds & | PartOfComplex | ) | const |
Returns the value of PartOfComplex attribute. PartOfComplex is reference to the IfcComplexProperty in which the IfcProperty is contained.
| PartOfComplex | [out] Receives object identifiers representing the PartOfComplex attribute. |
| void OdIfc4x2::IfcProperty::getInvPartOfPset | ( | OdDAIObjectIds & | PartOfPset | ) | const |
Returns the value of PartOfPset attribute. PartOfPset is reference to the IfcPropertySet by which the IfcProperty is referenced.
| PartOfPset | [out] Receives object identifiers representing the PartOfPset attribute. |
| void OdIfc4x2::IfcProperty::getInvPropertyDependsOn | ( | OdDAIObjectIds & | PropertyDependsOn | ) | const |
Returns the value of PropertyDependsOn attribute. PropertyDependsOn is the relating property on which the value of the property depends.
| PropertyDependsOn | [out] Receives object identifiers representing the PropertyDependsOn attribute. |
| void OdIfc4x2::IfcProperty::getInvPropertyForDependance | ( | OdDAIObjectIds & | PropertyForDependance | ) | const |
Returns the value of PropertyForDependance attribute. PropertyForDependance is the property on the value of which value of another property depends.
| PropertyForDependance | [out] Receives object identifiers representing the PropertyForDependance attribute. |
| const OdAnsiString & OdIfc4x2::IfcProperty::getName | ( | ) | const |
Returns the value of Name attribute that represents name for this property. This label is the significant name string that defines the semantic meaning for the property.
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented from OdIfc4x2::IfcPropertyAbstraction.
Reimplemented in OdIfc4x2::IfcComplexProperty, OdIfc4x2::IfcPropertyBoundedValue, OdIfc4x2::IfcPropertyEnumeratedValue, OdIfc4x2::IfcPropertyListValue, OdIfc4x2::IfcPropertyReferenceValue, OdIfc4x2::IfcPropertySingleValue, and OdIfc4x2::IfcPropertyTableValue.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc4x2::IfcPropertyAbstraction.
Reimplemented in OdIfc4x2::IfcComplexProperty, OdIfc4x2::IfcPropertyBoundedValue, OdIfc4x2::IfcPropertyEnumeratedValue, OdIfc4x2::IfcPropertyListValue, OdIfc4x2::IfcPropertyReferenceValue, OdIfc4x2::IfcPropertySingleValue, OdIfc4x2::IfcPropertyTableValue, and OdIfc4x2::IfcSimpleProperty.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc4x2::IfcPropertyAbstraction.
Reimplemented in OdIfc4x2::IfcComplexProperty, OdIfc4x2::IfcPropertyBoundedValue, OdIfc4x2::IfcPropertyEnumeratedValue, OdIfc4x2::IfcPropertyListValue, OdIfc4x2::IfcPropertyReferenceValue, OdIfc4x2::IfcPropertySingleValue, and OdIfc4x2::IfcPropertyTableValue.
|
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.
Reimplemented in OdIfc4x2::IfcComplexProperty, OdIfc4x2::IfcPropertyBoundedValue, OdIfc4x2::IfcPropertyEnumeratedValue, OdIfc4x2::IfcPropertyListValue, OdIfc4x2::IfcPropertyReferenceValue, OdIfc4x2::IfcPropertySingleValue, and OdIfc4x2::IfcPropertyTableValue.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc4x2::IfcPropertyAbstraction.
Reimplemented in OdIfc4x2::IfcComplexProperty, OdIfc4x2::IfcPropertyBoundedValue, OdIfc4x2::IfcPropertyEnumeratedValue, OdIfc4x2::IfcPropertyListValue, OdIfc4x2::IfcPropertyReferenceValue, OdIfc4x2::IfcPropertySingleValue, and OdIfc4x2::IfcPropertyTableValue.
| void OdIfc4x2::IfcProperty::setDescription | ( | const OdAnsiString & | Description | ) |
Sets the value of Description attribute. Description is informative text to explain the property.
| Description | [in] Description to set. |
| void OdIfc4x2::IfcProperty::setName | ( | const OdAnsiString & | Name | ) |
Sets the value of Name attribute that represents name for this property. This label is the significant name string that defines the semantic meaning for the property.
| Name | [in] Name to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc4x2::IfcPropertyAbstraction.
Reimplemented in OdIfc4x2::IfcComplexProperty, OdIfc4x2::IfcPropertyBoundedValue, OdIfc4x2::IfcPropertyEnumeratedValue, OdIfc4x2::IfcPropertyListValue, OdIfc4x2::IfcPropertyReferenceValue, OdIfc4x2::IfcPropertySingleValue, and OdIfc4x2::IfcPropertyTableValue.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc4x2::IfcPropertyAbstraction.
Reimplemented in OdIfc4x2::IfcComplexProperty, OdIfc4x2::IfcPropertyBoundedValue, OdIfc4x2::IfcPropertyEnumeratedValue, OdIfc4x2::IfcPropertyListValue, OdIfc4x2::IfcPropertyReferenceValue, OdIfc4x2::IfcPropertySingleValue, and OdIfc4x2::IfcPropertyTableValue.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc4x2::IfcPropertyAbstraction.
Reimplemented in OdIfc4x2::IfcComplexProperty, OdIfc4x2::IfcPropertyBoundedValue, OdIfc4x2::IfcPropertyEnumeratedValue, OdIfc4x2::IfcPropertyListValue, OdIfc4x2::IfcPropertyReferenceValue, OdIfc4x2::IfcPropertySingleValue, OdIfc4x2::IfcPropertyTableValue, and OdIfc4x2::IfcSimpleProperty.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc4x2::IfcPropertyAbstraction.
Reimplemented in OdIfc4x2::IfcComplexProperty, OdIfc4x2::IfcPropertyBoundedValue, OdIfc4x2::IfcPropertyEnumeratedValue, OdIfc4x2::IfcPropertyListValue, OdIfc4x2::IfcPropertyReferenceValue, OdIfc4x2::IfcPropertySingleValue, and OdIfc4x2::IfcPropertyTableValue.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc4x2::IfcPropertyAbstraction.
Reimplemented in OdIfc4x2::IfcComplexProperty, OdIfc4x2::IfcPropertyBoundedValue, OdIfc4x2::IfcPropertyEnumeratedValue, OdIfc4x2::IfcPropertyListValue, OdIfc4x2::IfcPropertyReferenceValue, OdIfc4x2::IfcPropertySingleValue, and OdIfc4x2::IfcPropertyTableValue.
|
friend |
Definition at line 240 of file Ifc4x2/IfcPropertyAutoImpl.h.
Definition at line 238 of file Ifc4x2/IfcPropertyAutoImpl.h.
|
friend |
Definition at line 237 of file Ifc4x2/IfcPropertyAutoImpl.h.
|
friend |
Definition at line 242 of file Ifc4x2/IfcPropertyAutoImpl.h.
|
friend |
Definition at line 241 of file Ifc4x2/IfcPropertyAutoImpl.h.
|
protected |
Definition at line 234 of file Ifc4x2/IfcPropertyAutoImpl.h.
|
protected |
Definition at line 233 of file Ifc4x2/IfcPropertyAutoImpl.h.