CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdIfc4x1::IfcDimensionalExponents Class Reference

#include <IfcDimensionalExponentsAutoImpl.h>

Inheritance diagram for OdIfc4x1::IfcDimensionalExponents:
OdIfc4x1::OdIfc4x1Instance OdIfc::OdIfcInstance

Public Member Functions

int getLengthExponent () const
 
void setLengthExponent (int LengthExponent)
 
int getMassExponent () const
 
void setMassExponent (int MassExponent)
 
int getTimeExponent () const
 
void setTimeExponent (int TimeExponent)
 
int getElectricCurrentExponent () const
 
void setElectricCurrentExponent (int ElectricCurrentExponent)
 
int getThermodynamicTemperatureExponent () const
 
void setThermodynamicTemperatureExponent (int ThermodynamicTemperatureExponent)
 
int getAmountOfSubstanceExponent () const
 
void setAmountOfSubstanceExponent (int AmountOfSubstanceExponent)
 
int getLuminousIntensityExponent () const
 
void setLuminousIntensityExponent (int LuminousIntensityExponent)
 
 IfcDimensionalExponents ()
 
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 OdIfc4x1::OdIfc4x1Instance
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 OdGsCachegsNode () const
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *traits) const
 
virtual bool subWorldDraw (OdGiWorldDraw *wd) const
 
virtual OdDbStub * ownerId () const
 

Protected Attributes

int m_LengthExponent
 
int m_MassExponent
 
int m_TimeExponent
 
int m_ElectricCurrentExponent
 
int m_ThermodynamicTemperatureExponent
 
int m_AmountOfSubstanceExponent
 
int m_LuminousIntensityExponent
 
- Protected Attributes inherited from OdIfc::OdIfcInstance
voidm_resPtr
 
IfcOpResult m_resolved
 

Additional Inherited Members

- Static Public Member Functions inherited from OdIfc::OdIfcInstance
static const OdGePoint3dasPoint3d (const OdIfcInstance *inst)
 
static const OdGePoint2dasPoint2d (const OdIfcInstance *inst)
 
static const OdGeVector3dasVector3d (const OdIfcInstance *inst)
 
static const OdGeVector2dasVector2d (const OdIfcInstance *inst)
 
static const OdGeMatrix2dasMatrix2d (const OdIfcInstance *inst)
 
static const OdGeMatrix3dasMatrix3d (const OdIfcInstance *inst)
 
static OdIfcCompoundPtr asCompound (OdSmartPtr< OdIfcInstance > inst)
 
static const OdCmEntityColorasRgbColor (const OdIfcInstance *inst)
 

Detailed Description

The dimensionality of any quantity can be expressed as a product of powers of the dimensions of base quantities. The dimensional exponents entity defines the powers of the dimensions of the base quantities. All the physical quantities are founded on seven base quantities (ISO 31 (clause 2)).

  • Example 1 - A length of 2 millimetres has a length exponent of 1. The remaining exponents are equal to 0.
  • Example 2 - A velocity of 2 millimetres per second has a length exponent of 1 and a time exponent of -1. The remaining exponents are equal to 0.

Definition at line 50 of file Ifc4x1/IfcDimensionalExponentsAutoImpl.h.

Constructor & Destructor Documentation

◆ IfcDimensionalExponents()

OdIfc4x1::IfcDimensionalExponents::IfcDimensionalExponents ( )

Default constructor for the IfcDimensionalExponents class.

Member Function Documentation

◆ getAmountOfSubstanceExponent()

int OdIfc4x1::IfcDimensionalExponents::getAmountOfSubstanceExponent ( ) const

Returns the value of AmountOfSubstanceExponent attribute. This attribute represents the power of the amount of substance base quantity.

Returns
Returns the value of AmountOfSubstanceExponent attribute.

◆ getAttr() [1/2]

virtual OdRxValue OdIfc4x1::IfcDimensionalExponents::getAttr ( const char * attrName) const
overridevirtual

Returns an attribute value for the specified attribute name.

Parameters
attrName[in] Name of an attribute to query.
Returns
OdRxValue object that represents a generic variant type value.

◆ getAttr() [2/2]

virtual OdRxValue OdIfc4x1::IfcDimensionalExponents::getAttr ( const OdIfc::OdIfcAttribute attrDef) const
overridevirtual

Returns an attribute value for the specified attribute definition.

Parameters
attrDef[in] Attribute definition to query.
Returns
OdRxValue object that represents a generic variant type value.

Reimplemented from OdIfc::OdIfcInstance.

◆ getElectricCurrentExponent()

int OdIfc4x1::IfcDimensionalExponents::getElectricCurrentExponent ( ) const

Returns the value of ElectricCurrentExponent attribute. This attribute represents the power of the electric current base quantity.

Returns
Returns the value of ElectricCurrentExponent attribute.

◆ getInstanceType()

virtual OdDAI::Entity * OdIfc4x1::IfcDimensionalExponents::getInstanceType ( ) const
overridevirtual

Returns a type of a class instance.

Returns
Pointer to the <exref target=https://docs.opendesign.com/tkernel_api_cpp/OdDAI__Entity.html>>OdDAI::Entity</exref> type that determines an entity definition within a schema.

◆ getLengthExponent()

int OdIfc4x1::IfcDimensionalExponents::getLengthExponent ( ) const

Returns the value of LengthExponent attribute. This attribute represents the power of the length base quantity.

Returns
Returns the value of LengthExponent attribute.

◆ getLuminousIntensityExponent()

int OdIfc4x1::IfcDimensionalExponents::getLuminousIntensityExponent ( ) const

Returns the value of LuminousIntensityExponent attribute. This attribute represents the power of the luminous intensity base quantity.

Returns
Returns the value of LuminousIntensityExponent attribute.

◆ getMassExponent()

int OdIfc4x1::IfcDimensionalExponents::getMassExponent ( ) const

Returns the value of MassExponent attribute. This attribute represents the power of the mass base quantity.

Returns
Returns the value of MassExponent attribute.

◆ getThermodynamicTemperatureExponent()

int OdIfc4x1::IfcDimensionalExponents::getThermodynamicTemperatureExponent ( ) const

Returns the value of ThermodynamicTemperatureExponent attribute. This attribute represents the power of the thermodynamic temperature base quantity.

Returns
Returns the value of ThermodynamicTemperatureExponent attribute.

◆ getTimeExponent()

int OdIfc4x1::IfcDimensionalExponents::getTimeExponent ( ) const

Returns the value of TimeExponent attribute. This attribute represents the power of the time base quantity.

Returns
Returns the value of TimeExponent attribute.

◆ inFields()

virtual OdResult OdIfc4x1::IfcDimensionalExponents::inFields ( OdDAI::OdSpfFilerBase * rdFiler)
overridevirtual

Reads object's data from the specified filer.

Parameters
rdFiler[in] Pointer to a filer from which to read the data.
Returns
A value of OdResult type that contains the result of the method execution.

◆ isKindOf()

virtual bool OdIfc4x1::IfcDimensionalExponents::isKindOf ( OdIfc::OdIfcEntityType entityType) const
overridevirtual

Checks whether the specified instance is the object derived from or belongs to this class.

Parameters
entityType[in] Entity to check.
Returns
true if the specified instance is the object derived from or belongs to this class, false otherwise.

Reimplemented from OdIfc::OdIfcInstance.

◆ outFields()

virtual OdResult OdIfc4x1::IfcDimensionalExponents::outFields ( OdDAI::OdSpfFilerBase * wrFiler)
overridevirtual

Writes object's data the the specified filer.

Parameters
wrFiler[in] Pointer to a filer to which to write the data.
Returns
A value of OdResult type that contains the result of the method execution.

◆ putAttr() [1/2]

virtual bool OdIfc4x1::IfcDimensionalExponents::putAttr ( const char * explicitAttrName,
const OdRxValue & val )
overridevirtual

Sets the specified attribute with a given value.

Parameters
explicitAttrName[in] Explicit name of the attribute to set.
val[in] Value to set.
Returns
true if the value is successfully set for the specified attribute, false otherwise.

Reimplemented from OdIfc::OdIfcInstance.

◆ putAttr() [2/2]

virtual bool OdIfc4x1::IfcDimensionalExponents::putAttr ( const OdIfc::OdIfcAttribute explicitAttrDef,
const OdRxValue & val )
overridevirtual

Sets the specified attribute with a given value.

Parameters
explicitAttrDef[in] Explicit attribute definition to set.
val[in] Value to set.
Returns
true if the value is successfully set for the specified attribute, false otherwise.

Reimplemented from OdIfc::OdIfcInstance.

◆ setAmountOfSubstanceExponent()

void OdIfc4x1::IfcDimensionalExponents::setAmountOfSubstanceExponent ( int AmountOfSubstanceExponent)

Sets the value of AmountOfSubstanceExponent attribute. This attribute represents the power of the amount of substance base quantity.

Parameters
AmountOfSubstanceExponent[in] AmountOfSubstanceExponent attribute to set.

◆ setElectricCurrentExponent()

void OdIfc4x1::IfcDimensionalExponents::setElectricCurrentExponent ( int ElectricCurrentExponent)

Sets the value of ElectricCurrentExponent attribute. This attribute represents the power of the electric current base quantity.

Parameters
ElectricCurrentExponent[in] Electric current exponent to set.

◆ setLengthExponent()

void OdIfc4x1::IfcDimensionalExponents::setLengthExponent ( int LengthExponent)

Sets the value of LengthExponent attribute. This attribute represents the power of the length base quantity.

Parameters
LengthExponent[in] Length exponent to set.

◆ setLuminousIntensityExponent()

void OdIfc4x1::IfcDimensionalExponents::setLuminousIntensityExponent ( int LuminousIntensityExponent)

Sets the value of LuminousIntensityExponent attribute. This attribute represents the power of the luminous intensity base quantity.

Parameters
LuminousIntensityExponent[in] Luminous intensity exponent attribute to set.

◆ setMassExponent()

void OdIfc4x1::IfcDimensionalExponents::setMassExponent ( int MassExponent)

Sets the value of MassExponent attribute. This attribute represents the power of the mass base quantity.

Parameters
MassExponent[in] Mass exponent to set.

◆ setThermodynamicTemperatureExponent()

void OdIfc4x1::IfcDimensionalExponents::setThermodynamicTemperatureExponent ( int ThermodynamicTemperatureExponent)

Sets the value of ThermodynamicTemperatureExponent attribute. This attribute represents the power of the thermodynamic temperature base quantity.

Parameters
ThermodynamicTemperatureExponent[in] Thermodynamic temperature exponent to set.

◆ setTimeExponent()

void OdIfc4x1::IfcDimensionalExponents::setTimeExponent ( int TimeExponent)

Sets the value of TimeExponent attribute. This attribute represents the power of the time base quantity.

Parameters
TimeExponent[in] Time exponent to set.

◆ testAttr() [1/2]

virtual bool OdIfc4x1::IfcDimensionalExponents::testAttr ( const char * explicitAttrName) const
overridevirtual

Checks whether the specified attribute is set.

Parameters
explicitAttrName[in] Explicit name of the attribute to test.
Returns
true if the specified attribute is set, false otherwise.

Reimplemented from OdIfc::OdIfcInstance.

◆ testAttr() [2/2]

virtual bool OdIfc4x1::IfcDimensionalExponents::testAttr ( const OdIfc::OdIfcAttribute explicitAttrDef) const
overridevirtual

Checks whether the specified attribute is set.

Parameters
explicitAttrDef[in] Attribute definition to test.
Returns
true if the specified attribute is set, false otherwise.

Reimplemented from OdIfc::OdIfcInstance.

◆ type()

virtual OdIfc::OdIfcEntityType OdIfc4x1::IfcDimensionalExponents::type ( ) const
overridevirtual

Returns the type of this entity.

Returns
A value of the <exref target=https://docs.opendesign.com/tkernel_api_cpp/OdIfc__OdIfcEntityType.html>>OdIfc::OdIfcEntityType</exref> type that represents type of this entity.

Reimplemented from OdIfc::OdIfcInstance.

◆ unsetAttr() [1/2]

virtual void OdIfc4x1::IfcDimensionalExponents::unsetAttr ( const char * explicitAttrName)
overridevirtual

Resets a value for the specified attribute.

Parameters
explicitAttrName[in] Explicit name of the attribute to reset.

Reimplemented from OdIfc::OdIfcInstance.

◆ unsetAttr() [2/2]

virtual void OdIfc4x1::IfcDimensionalExponents::unsetAttr ( const OdIfc::OdIfcAttribute explicitAttrDef)
overridevirtual

Resets a value for the specified attribute.

Parameters
explicitAttrDef[in] Explicit definition that represents an attribute to reset.

Reimplemented from OdIfc::OdIfcInstance.

Member Data Documentation

◆ m_AmountOfSubstanceExponent

int OdIfc4x1::IfcDimensionalExponents::m_AmountOfSubstanceExponent
protected

Definition at line 284 of file Ifc4x1/IfcDimensionalExponentsAutoImpl.h.

◆ m_ElectricCurrentExponent

int OdIfc4x1::IfcDimensionalExponents::m_ElectricCurrentExponent
protected

Definition at line 282 of file Ifc4x1/IfcDimensionalExponentsAutoImpl.h.

◆ m_LengthExponent

int OdIfc4x1::IfcDimensionalExponents::m_LengthExponent
protected

Definition at line 279 of file Ifc4x1/IfcDimensionalExponentsAutoImpl.h.

◆ m_LuminousIntensityExponent

int OdIfc4x1::IfcDimensionalExponents::m_LuminousIntensityExponent
protected

Definition at line 285 of file Ifc4x1/IfcDimensionalExponentsAutoImpl.h.

◆ m_MassExponent

int OdIfc4x1::IfcDimensionalExponents::m_MassExponent
protected

Definition at line 280 of file Ifc4x1/IfcDimensionalExponentsAutoImpl.h.

◆ m_ThermodynamicTemperatureExponent

int OdIfc4x1::IfcDimensionalExponents::m_ThermodynamicTemperatureExponent
protected

Definition at line 283 of file Ifc4x1/IfcDimensionalExponentsAutoImpl.h.

◆ m_TimeExponent

int OdIfc4x1::IfcDimensionalExponents::m_TimeExponent
protected

Definition at line 281 of file Ifc4x1/IfcDimensionalExponentsAutoImpl.h.


The documentation for this class was generated from the following file: