|
CFx SDK Documentation 2026 SP0
|
#include <IfcPropertyEnumerationAutoImpl.h>
Public Member Functions | |
| const OdAnsiString & | getName () const |
| void | setName (const OdAnsiString &Name) |
| void | getEnumerationValues (OdArray< OdDAI::Select > &EnumerationValues) const |
| void | getEnumerationValuesWrapperArray (OdArray< IfcValue > &EnumerationValues) const |
| OdDAI::ListOfSelect & | enumerationValues () |
| IfcUnit | unit () |
| IfcPropertyEnumeration () | |
| 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 | |
| OdAnsiString | m_Name |
| OdDAI::ListOfSelect | m_EnumerationValues |
| OdDAI::Select | m_Unit |
Protected Attributes inherited from OdIfc::OdIfcInstance | |
| void * | m_resPtr |
| IfcOpResult | m_resolved |
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) |
IfcPropertyEnumeration is a collection of simple or measure values that define a prescribed set of alternatives from which 'enumeration values' are selected. This enables inclusion of enumeration values in property sets. IfcPropertyEnumeration provides a name for the enumeration as well as a list of unique (numeric or descriptive) values (that can have a measure type assigned). The entity defines the list of potential enumerators to be exchanged together (or separately) with properties of type IfcPropertyEnumeratedValue that selects their actual property values from this enumeration.
If the Unit attribute is not specified, than the unit is already implied by the type of IfcMeasureValue or IfcDerivedMeasureValue. The associated unit can be found at the IfcUnitAssignment globally defined at the project level (IfcProject.UnitsInContext). If the Unit attribute is specified, the unit assigned by the Unit attribute overrides the globally assigned unit.
\changes
IFC2X_FINAL changes: Entity has been renamed from IfcEnumeration.
Definition at line 57 of file Ifc2x2_Final/IfcPropertyEnumerationAutoImpl.h.
| OdIfc2x2_final::IfcPropertyEnumeration::IfcPropertyEnumeration | ( | ) |
Default constructor for the IfcPropertyEnumeration class.
| OdDAI::ListOfSelect & OdIfc2x2_final::IfcPropertyEnumeration::enumerationValues | ( | ) |
Returns the value of EnumerationValues attribute. EnumerationValues is list of values that form the enumeration.
| EnumerationValues | [out] Receives a list of OdDAI::Select values representing the EnumerationValues attribute. |
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc::OdIfcInstance.
| void OdIfc2x2_final::IfcPropertyEnumeration::getEnumerationValues | ( | OdArray< OdDAI::Select > & | EnumerationValues | ) | const |
Returns the value of EnumerationValues attribute. EnumerationValues is list of values that form the enumeration.
| void OdIfc2x2_final::IfcPropertyEnumeration::getEnumerationValuesWrapperArray | ( | OdArray< IfcValue > & | EnumerationValues | ) | const |
Returns the value of EnumerationValues attribute. EnumerationValues is list of values that form the enumeration.
|
overridevirtual |
Returns a type of a class instance.
| const OdAnsiString & OdIfc2x2_final::IfcPropertyEnumeration::getName | ( | ) | const |
Returns the value of Name attribute that represents the name of this enumeration.
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
|
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.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
|
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.
|
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.
| void OdIfc2x2_final::IfcPropertyEnumeration::setName | ( | const OdAnsiString & | Name | ) |
Sets the value of Name attribute that represents the name of this enumeration.
| 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.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc::OdIfcInstance.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc::OdIfcInstance.
| IfcUnit OdIfc2x2_final::IfcPropertyEnumeration::unit | ( | ) |
Returns the value of Unit attribute that represents unit for the enumerator values. If not specified, the default value for the measure type is used as defined by the global unit assignment at IfcProject.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc::OdIfcInstance.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc::OdIfcInstance.
|
protected |
Definition at line 223 of file Ifc2x2_Final/IfcPropertyEnumerationAutoImpl.h.
|
protected |
Definition at line 222 of file Ifc2x2_Final/IfcPropertyEnumerationAutoImpl.h.
|
protected |
Definition at line 224 of file Ifc2x2_Final/IfcPropertyEnumerationAutoImpl.h.