|
CFx SDK Documentation 2026 SP0
|
#include <IfcDerivedUnitAutoImpl.h>
Public Member Functions | |
| void | getElements (OdDAIObjectIds &Elements) const |
| OdDAI::SetOfOdDAIObjectId & | elements () |
| IfcDerivedUnitEnum | getUnitType () const |
| void | setUnitType (IfcDerivedUnitEnum UnitType) |
| const OdAnsiString & | getUserDefinedType () const |
| void | setUserDefinedType (const OdAnsiString &UserDefinedType) |
| IfcDerivedUnit () | |
| 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 OdIfc4::OdIfc4Instance | |
| 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::SetOfOdDAIObjectId | m_Elements |
| OdDAI::Enum | m_UnitType |
| OdAnsiString | m_UserDefinedType |
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 derived unit is an expression of units.
<IMAGE ifcderivedunit_example>
Definition at line 49 of file Ifc4/IfcDerivedUnitAutoImpl.h.
| OdIfc4::IfcDerivedUnit::IfcDerivedUnit | ( | ) |
Default constructor for the IfcDerivedUnit class.
|
overridevirtual |
Early-bound version of instances comparison.
| pOther | [in] Other application instance. |
| ordering | [out] Receives the ordering (comparison) status. |
| OdDAI::SetOfOdDAIObjectId & OdIfc4::IfcDerivedUnit::elements | ( | ) |
Returns the value of Elements attribute. This attribute represents the group of units and their exponents that define the derived unit.
|
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 OdIfc4::IfcDerivedUnit::getElements | ( | OdDAIObjectIds & | Elements | ) | const |
Gets the value of Elements attribute. This attribute represents the group of units and their exponents that define the derived unit.
| Elements | [out] Receives the elements. |
|
overridevirtual |
Returns a type of a class instance.
| IfcDerivedUnitEnum OdIfc4::IfcDerivedUnit::getUnitType | ( | ) | const |
Returns the value of UnitType attribute. This attribute represents name of the derived unit chosen from an enumeration of derived unit types for use in IFC models.
| const OdAnsiString & OdIfc4::IfcDerivedUnit::getUserDefinedType | ( | ) | const |
Returns the value of UserDefinedType attribute. This attribute represents type of the derived unit if the UnitType attribute is set to USERDEFINED.
|
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 OdIfc4::IfcDerivedUnit::setUnitType | ( | IfcDerivedUnitEnum | UnitType | ) |
Sets the value of UnitType attribute. This attribute represents name of the derived unit chosen from an enumeration of derived unit types for use in IFC models.
| UnitType | [in] Unit type to set. |
| void OdIfc4::IfcDerivedUnit::setUserDefinedType | ( | const OdAnsiString & | UserDefinedType | ) |
Sets the value of UserDefinedType attribute. This attribute represents type of the derived unit if the UnitType attribute is set to USERDEFINED.
| UserDefinedType | [in] User-defined type 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.
|
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 237 of file Ifc4/IfcDerivedUnitAutoImpl.h.
|
protected |
Definition at line 238 of file Ifc4/IfcDerivedUnitAutoImpl.h.
|
protected |
Definition at line 239 of file Ifc4/IfcDerivedUnitAutoImpl.h.