|
CFx SDK Documentation 2026 SP0
|
#include <IfcNamedUnitAutoImpl.h>
Public Member Functions | |
| const OdDAIObjectId & | getDimensions () const |
| void | setDimensions (const OdDAIObjectId &Dimensions) |
| IfcUnitEnum | getUnitType () const |
| void | setUnitType (IfcUnitEnum UnitType) |
| IfcNamedUnit () | |
| 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 bool | comparedToEarlyImpl (const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) 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 OdIfc4x4::OdIFC4X4Instance | |
| 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 | |
| OdDAIObjectId | m_Dimensions |
| OdDAI::Enum | m_UnitType |
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) |
A named unit is a unit quantity associated with the word, or group of words, by which the unit is identified.
Definition at line 48 of file IFC4X4/IfcNamedUnitAutoImpl.h.
| OdIfc4x4::IfcNamedUnit::IfcNamedUnit | ( | ) |
Default constructor for the IfcNamedUnit class.
|
overridevirtual |
Early-bound version of instances comparison.
| pOther | [in] Other application instance. |
| ordering | [out] Receives the ordering (comparison) status. |
Reimplemented in OdIfc4x4::IfcContextDependentUnit, OdIfc4x4::IfcConversionBasedUnit, OdIfc4x4::IfcConversionBasedUnitWithOffset, and OdIfc4x4::IfcSIUnit.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented in OdIfc4x4::IfcContextDependentUnit, OdIfc4x4::IfcConversionBasedUnit, OdIfc4x4::IfcConversionBasedUnitWithOffset, and OdIfc4x4::IfcSIUnit.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc::OdIfcInstance.
Reimplemented in OdIfc4x4::IfcContextDependentUnit, OdIfc4x4::IfcConversionBasedUnit, OdIfc4x4::IfcConversionBasedUnitWithOffset, and OdIfc4x4::IfcSIUnit.
| const OdDAIObjectId & OdIfc4x4::IfcNamedUnit::getDimensions | ( | ) | const |
Returns the value of Dimensions attribute. This attribute represents the dimensional exponents of the SI base units by which the named unit is defined.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented in OdIfc4x4::IfcContextDependentUnit, OdIfc4x4::IfcConversionBasedUnit, OdIfc4x4::IfcConversionBasedUnitWithOffset, and OdIfc4x4::IfcSIUnit.
| IfcUnitEnum OdIfc4x4::IfcNamedUnit::getUnitType | ( | ) | const |
Returns the value of UnitType attribute. This attribute represents the type of the unit.
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented in OdIfc4x4::IfcContextDependentUnit, OdIfc4x4::IfcConversionBasedUnit, OdIfc4x4::IfcConversionBasedUnitWithOffset, and OdIfc4x4::IfcSIUnit.
|
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 OdIfc4x4::IfcContextDependentUnit, OdIfc4x4::IfcConversionBasedUnit, OdIfc4x4::IfcConversionBasedUnitWithOffset, and OdIfc4x4::IfcSIUnit.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented in OdIfc4x4::IfcContextDependentUnit, OdIfc4x4::IfcConversionBasedUnit, OdIfc4x4::IfcConversionBasedUnitWithOffset, and OdIfc4x4::IfcSIUnit.
|
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 OdIfc4x4::IfcContextDependentUnit, OdIfc4x4::IfcConversionBasedUnit, OdIfc4x4::IfcConversionBasedUnitWithOffset, and OdIfc4x4::IfcSIUnit.
|
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 OdIfc4x4::IfcContextDependentUnit, OdIfc4x4::IfcConversionBasedUnit, OdIfc4x4::IfcConversionBasedUnitWithOffset, and OdIfc4x4::IfcSIUnit.
| void OdIfc4x4::IfcNamedUnit::setDimensions | ( | const OdDAIObjectId & | Dimensions | ) |
Sets the value of Dimensions attribute. This attribute represents the dimensional exponents of the SI base units by which the named unit is defined.
| Dimensions | [in] Dimensions to set. |
| void OdIfc4x4::IfcNamedUnit::setUnitType | ( | IfcUnitEnum | UnitType | ) |
Sets the value of UnitType attribute. This attribute represents the type of the unit.
| UnitType | [in] Unit type 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 OdIfc4x4::IfcContextDependentUnit, OdIfc4x4::IfcConversionBasedUnit, OdIfc4x4::IfcConversionBasedUnitWithOffset, and OdIfc4x4::IfcSIUnit.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc::OdIfcInstance.
Reimplemented in OdIfc4x4::IfcContextDependentUnit, OdIfc4x4::IfcConversionBasedUnit, OdIfc4x4::IfcConversionBasedUnitWithOffset, and OdIfc4x4::IfcSIUnit.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc::OdIfcInstance.
Reimplemented in OdIfc4x4::IfcContextDependentUnit, OdIfc4x4::IfcConversionBasedUnit, OdIfc4x4::IfcConversionBasedUnitWithOffset, and OdIfc4x4::IfcSIUnit.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc::OdIfcInstance.
Reimplemented in OdIfc4x4::IfcContextDependentUnit, OdIfc4x4::IfcConversionBasedUnit, OdIfc4x4::IfcConversionBasedUnitWithOffset, and OdIfc4x4::IfcSIUnit.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc::OdIfcInstance.
Reimplemented in OdIfc4x4::IfcContextDependentUnit, OdIfc4x4::IfcConversionBasedUnit, OdIfc4x4::IfcConversionBasedUnitWithOffset, and OdIfc4x4::IfcSIUnit.
|
protected |
Definition at line 221 of file IFC4X4/IfcNamedUnitAutoImpl.h.
|
protected |
Definition at line 222 of file IFC4X4/IfcNamedUnitAutoImpl.h.