///////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2002-2025, Open Design Alliance (the "Alliance").
// All rights reserved.
//
// This software and its documentation and related materials are owned by
// the Alliance. The software may only be incorporated into application
// programs owned by members of the Alliance, subject to a signed
// Membership Agreement and Supplemental Software License Agreement with the
// Alliance. The structure and organization of this software are the valuable
// trade secrets of the Alliance and its suppliers. The software is also
// protected by copyright law and international treaty provisions. Application
// programs incorporating this software must include the following statement
// with their copyright notices:
//
// This application incorporates Open Design Alliance software pursuant to a license
// agreement with Open Design Alliance.
// Open Design Alliance Copyright (C) 2002-2025 by Open Design Alliance.
// All rights reserved.
//
// By use of this software, its documentation or related materials, you
// acknowledge and accept the above terms.
///////////////////////////////////////////////////////////////////////////////
// This file is generated automatically.
#ifndef _IFC4_IFCDIMENSIONALEXPONENTS_AUTO_IMPL_H
#define _IFC4_IFCDIMENSIONALEXPONENTS_AUTO_IMPL_H
#include "Ifc4BaseClass.h"
#include "Ifc4Enum.h"
#include "Ifc4SelectTypes.h"
#include "Ifc4CollectionTypes.h"
#include "TD_PackPush.h"
/** \details
The namespace contains schema-dependent classes, definitions and sub routines
for work with IFC4 express schema definitions.
*/
namespace OdIfc4 {
/** \details
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.
*/
class IFC4_EXPORT IfcDimensionalExponents : public OdIfc4Instance
{
//DOM-IGNORE-BEGIN
OD_EXP_DECLARE_MEMBERS(OdIfc4::IfcDimensionalExponents);
//DOM-IGNORE-END
public:
//
// OdDAI early binding accessors
//
/** \details
Returns the value of LengthExponent attribute.
This attribute represents the power of the length base quantity.
\returns
Returns the value of LengthExponent attribute.
*/
int getLengthExponent() const;
/** \details
Sets the value of LengthExponent attribute.
This attribute represents the power of the length base quantity.
\param LengthExponent [in] Length exponent to set.
*/
void setLengthExponent(int LengthExponent);
/** \details
Returns the value of MassExponent attribute.
This attribute represents the power of the mass base quantity.
\returns
Returns the value of MassExponent attribute.
*/
int getMassExponent() const;
/** \details
Sets the value of MassExponent attribute.
This attribute represents the power of the mass base quantity.
\param MassExponent [in] Mass exponent to set.
*/
void setMassExponent(int MassExponent);
/** \details
Returns the value of TimeExponent attribute.
This attribute represents the power of the time base quantity.
\returns
Returns the value of TimeExponent attribute.
*/
int getTimeExponent() const;
/** \details
Sets the value of TimeExponent attribute.
This attribute represents the power of the time base quantity.
\param TimeExponent [in] Time exponent to set.
*/
void setTimeExponent(int TimeExponent);
/** \details
Returns the value of ElectricCurrentExponent attribute.
This attribute represents the power of the electric current base quantity.
\returns
Returns the value of ElectricCurrentExponent attribute.
*/
int getElectricCurrentExponent() const;
/** \details
Sets the value of ElectricCurrentExponent attribute.
This attribute represents the power of the electric current base quantity.
\param ElectricCurrentExponent [in] Electric current exponent to set.
*/
void setElectricCurrentExponent(int ElectricCurrentExponent);
/** \details
Returns the value of ThermodynamicTemperatureExponent attribute.
This attribute represents the power of the thermodynamic temperature base quantity.
\returns
Returns the value of ThermodynamicTemperatureExponent attribute.
*/
int getThermodynamicTemperatureExponent() const;
/** \details
Sets the value of ThermodynamicTemperatureExponent attribute.
This attribute represents the power of the thermodynamic temperature base quantity.
\param ThermodynamicTemperatureExponent [in] Thermodynamic temperature exponent to set.
*/
void setThermodynamicTemperatureExponent(int ThermodynamicTemperatureExponent);
/** \details
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.
*/
int getAmountOfSubstanceExponent() const;
/** \details
Sets the value of AmountOfSubstanceExponent attribute.
This attribute represents the power of the amount of substance base quantity.
\param AmountOfSubstanceExponent [in] AmountOfSubstanceExponent attribute to set.
*/
void setAmountOfSubstanceExponent(int AmountOfSubstanceExponent);
/** \details
Returns the value of LuminousIntensityExponent attribute.
This attribute represents the power of the luminous intensity base quantity.
\returns
Returns the value of LuminousIntensityExponent attribute.
*/
int getLuminousIntensityExponent() const;
/** \details
Sets the value of LuminousIntensityExponent attribute.
This attribute represents the power of the luminous intensity base quantity.
\param LuminousIntensityExponent [in] Luminous intensity exponent attribute to set.
*/
void setLuminousIntensityExponent(int LuminousIntensityExponent);
public:
/** \details
Default constructor for the IfcDimensionalExponents class.
*/
IfcDimensionalExponents();
/** \details
Reads object's data from the specified filer.
\param 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.
*/
virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler) override;
/** \details
Writes object's data the the specified filer.
\param 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.
*/
virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler) override;
/** \details
Returns a type of a class instance.
\returns
Pointer to the