|
CFx SDK Documentation 2026 SP0
|
#include <IfcSIUnitAutoImpl.h>
Public Member Functions | |
| IfcSIPrefix | getPrefix () const |
| void | setPrefix (IfcSIPrefix Prefix) |
| IfcSIUnitName | getName () const |
| void | setName (IfcSIUnitName Name) |
| IfcSIUnit () | |
| 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::IfcNamedUnit | |
| const OdDAIObjectId & | getDimensions () const |
| void | setDimensions (const OdDAIObjectId &Dimensions) |
| IfcUnitEnum | getUnitType () const |
| void | setUnitType (IfcUnitEnum UnitType) |
| IfcNamedUnit () | |
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 | |
| OdDAI::Enum | m_Prefix |
| OdDAI::Enum | m_Name |
Protected Attributes inherited from OdIfc4x2::IfcNamedUnit | |
| 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) |
The IfcSIUnit covers both standard base SI units such as meter and second, and derived SI units such as Pascal, square meter and cubic meter.
Definition at line 40 of file Ifc4x2/IfcSIUnitAutoImpl.h.
| OdIfc4x2::IfcSIUnit::IfcSIUnit | ( | ) |
Default constructor for the IfcSIUnit class.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented from OdIfc4x2::IfcNamedUnit.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc4x2::IfcNamedUnit.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc4x2::IfcNamedUnit.
| IfcSIUnitName OdIfc4x2::IfcSIUnit::getName | ( | ) | const |
Returns the value of Name attribute. This attribute represents the word, or group of words, by which the SI unit is referred to.
| IfcSIPrefix OdIfc4x2::IfcSIUnit::getPrefix | ( | ) | const |
Returns the value of Prefix attribute. This attribute represents the SI Prefix for defining decimal multiples and sub-multiples 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 from OdIfc4x2::IfcNamedUnit.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc4x2::IfcNamedUnit.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc4x2::IfcNamedUnit.
|
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 OdIfc4x2::IfcNamedUnit.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc4x2::IfcNamedUnit.
| void OdIfc4x2::IfcSIUnit::setName | ( | IfcSIUnitName | Name | ) |
Sets the value of Name attribute. This attribute represents the word, or group of words, by which the SI unit is referred to.
| Name | [in] Name to set. |
| void OdIfc4x2::IfcSIUnit::setPrefix | ( | IfcSIPrefix | Prefix | ) |
Sets the value of Prefix attribute. This attribute represents the SI Prefix for defining decimal multiples and sub-multiples of the unit.
| Prefix | [in] Prefix to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc4x2::IfcNamedUnit.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc4x2::IfcNamedUnit.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc4x2::IfcNamedUnit.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc4x2::IfcNamedUnit.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc4x2::IfcNamedUnit.
|
protected |
Definition at line 195 of file Ifc4x2/IfcSIUnitAutoImpl.h.
|
protected |
Definition at line 194 of file Ifc4x2/IfcSIUnitAutoImpl.h.