|
CFx SDK Documentation 2026 SP0
|
#include <IfcConstraintAutoImpl.h>
Public Member Functions | |
| IfcConstraintEnum | getConstraintGrade () const |
| void | setConstraintGrade (IfcConstraintEnum ConstraintGrade) |
| const OdAnsiString & | getDescription () const |
| void | setDescription (const OdAnsiString &Description) |
| const OdAnsiString & | getConstraintSource () const |
| void | setConstraintSource (const OdAnsiString &ConstraintSource) |
| const OdAnsiString & | getName () const |
| void | setName (const OdAnsiString &Name) |
| IfcActorSelect | creatingActor () |
| IfcDateTimeSelect | creationTime () |
| void | getInvAggregates (OdDAIObjectIds &Aggregates) const |
| void | getInvIsAggregatedIn (OdDAIObjectIds &IsAggregatedIn) const |
| IfcConstraint () | |
| 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 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 | |
| OdDAI::Enum | m_ConstraintGrade |
| OdAnsiString | m_Description |
| OdAnsiString | m_ConstraintSource |
| OdAnsiString | m_Name |
| OdDAI::Select | m_CreatingActor |
| OdDAI::Select | m_CreationTime |
Protected Attributes inherited from OdIfc::OdIfcInstance | |
| void * | m_resPtr |
| IfcOpResult | m_resolved |
Friends | |
| class | IfcConstraintAggregationRelationship |
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) |
An IfcConstraint is used to define a constraint or limiting value or boundary condition that can be applied to an object or to the value of a property.
Constraints can be subdivided into user-defined constraints and system-defined constraints. User-defined constraints are applied by a user and are restricted to high-level definitions such as object properties. System-defined constraints can apply to any object attribute, are typically defined by an application to enforce data validation or parametric behavior, and are intended to be enforced by applications but not to be directly editable by an end-user.
Definition at line 54 of file Ifc2x_Final/IfcConstraintAutoImpl.h.
| OdIfc2x_final::IfcConstraint::IfcConstraint | ( | ) |
Default constructor for the IfcConstraint class.
| IfcActorSelect OdIfc2x_final::IfcConstraint::creatingActor | ( | ) |
Returns the value of CreatingActor attribute. This attribute represents person and/or organization that has created the constraint.
| IfcDateTimeSelect OdIfc2x_final::IfcConstraint::creationTime | ( | ) |
Returns the value of CreationTime attribute. This attribute represents time when information specifying the constraint instance was created.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented in OdIfc2x_final::IfcMetric, OdIfc2x_final::IfcMetricBenchmark, and OdIfc2x_final::IfcObjective.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc::OdIfcInstance.
Reimplemented in OdIfc2x_final::IfcMetric, OdIfc2x_final::IfcMetricBenchmark, and OdIfc2x_final::IfcObjective.
| IfcConstraintEnum OdIfc2x_final::IfcConstraint::getConstraintGrade | ( | ) | const |
Returns the value of ConstraintGrade attribute. This attribute represents enumeration that qualifies the type of constraint.
| const OdAnsiString & OdIfc2x_final::IfcConstraint::getConstraintSource | ( | ) | const |
Returns the value of ConstraintSource attribute. This attribute represents any source material, such as a code or standard, from which the constraint originated.
| const OdAnsiString & OdIfc2x_final::IfcConstraint::getDescription | ( | ) | const |
Returns the value of Description attribute. This attribute represents a human-readable description that can apply additional information about a constraint.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented in OdIfc2x_final::IfcMetric, OdIfc2x_final::IfcMetricBenchmark, and OdIfc2x_final::IfcObjective.
| void OdIfc2x_final::IfcConstraint::getInvAggregates | ( | OdDAIObjectIds & | Aggregates | ) | const |
Returns the value of PropertiesForConstraint attribute. This attribute represents reference to the relationships that collect other constraints into this aggregate constraint.
| Aggregates | [out] Receives the value of Aggregates attribute. |
| void OdIfc2x_final::IfcConstraint::getInvIsAggregatedIn | ( | OdDAIObjectIds & | IsAggregatedIn | ) | const |
Returns the value of IsAggregatedIn attribute. This attribute represents reference to the relationships that relate this constraint into aggregate constraints.
| IsAggregatedIn | [out] Receives the value of IsAggregatedIn attribute. |
| const OdAnsiString & OdIfc2x_final::IfcConstraint::getName | ( | ) | const |
Returns the value of Name attribute. This attribute represents a human-readable name that is used for the constraint.
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented in OdIfc2x_final::IfcMetric, OdIfc2x_final::IfcMetricBenchmark, and OdIfc2x_final::IfcObjective.
|
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.
Reimplemented in OdIfc2x_final::IfcMetric, OdIfc2x_final::IfcMetricBenchmark, and OdIfc2x_final::IfcObjective.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented in OdIfc2x_final::IfcMetric, OdIfc2x_final::IfcMetricBenchmark, and OdIfc2x_final::IfcObjective.
|
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 OdIfc2x_final::IfcMetric, OdIfc2x_final::IfcMetricBenchmark, and OdIfc2x_final::IfcObjective.
|
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.
Reimplemented in OdIfc2x_final::IfcMetric, OdIfc2x_final::IfcMetricBenchmark, and OdIfc2x_final::IfcObjective.
| void OdIfc2x_final::IfcConstraint::setConstraintGrade | ( | IfcConstraintEnum | ConstraintGrade | ) |
Sets the value of ConstraintGrade attribute. This attribute represents enumeration that qualifies the type of constraint.
| ConstraintGrade | [in] Constraint grade to set. |
| void OdIfc2x_final::IfcConstraint::setConstraintSource | ( | const OdAnsiString & | ConstraintSource | ) |
Sets the value of ConstraintSource attribute. This attribute represents any source material, such as a code or standard, from which the constraint originated.
| ConstraintSource | [in] Constraint source to set. |
| void OdIfc2x_final::IfcConstraint::setDescription | ( | const OdAnsiString & | Description | ) |
Sets the value of Description attribute. This attribute represents a human-readable description that can apply additional information about a constraint.
| Description | [in] Description to set. |
| void OdIfc2x_final::IfcConstraint::setName | ( | const OdAnsiString & | Name | ) |
Sets the value of Name attribute. This attribute represents a human-readable name that is used for the constraint.
| Name | [in] Name to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc::OdIfcInstance.
Reimplemented in OdIfc2x_final::IfcMetric, OdIfc2x_final::IfcMetricBenchmark, and OdIfc2x_final::IfcObjective.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc::OdIfcInstance.
Reimplemented in OdIfc2x_final::IfcMetric, OdIfc2x_final::IfcMetricBenchmark, and OdIfc2x_final::IfcObjective.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc::OdIfcInstance.
Reimplemented in OdIfc2x_final::IfcMetric, OdIfc2x_final::IfcMetricBenchmark, and OdIfc2x_final::IfcObjective.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc::OdIfcInstance.
Reimplemented in OdIfc2x_final::IfcMetric, OdIfc2x_final::IfcMetricBenchmark, and OdIfc2x_final::IfcObjective.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc::OdIfcInstance.
Reimplemented in OdIfc2x_final::IfcMetric, OdIfc2x_final::IfcMetricBenchmark, and OdIfc2x_final::IfcObjective.
Definition at line 276 of file Ifc2x_Final/IfcConstraintAutoImpl.h.
|
protected |
Definition at line 268 of file Ifc2x_Final/IfcConstraintAutoImpl.h.
|
protected |
Definition at line 270 of file Ifc2x_Final/IfcConstraintAutoImpl.h.
|
protected |
Definition at line 272 of file Ifc2x_Final/IfcConstraintAutoImpl.h.
|
protected |
Definition at line 273 of file Ifc2x_Final/IfcConstraintAutoImpl.h.
|
protected |
Definition at line 269 of file Ifc2x_Final/IfcConstraintAutoImpl.h.
|
protected |
Definition at line 271 of file Ifc2x_Final/IfcConstraintAutoImpl.h.