CFx SDK Documentation  2023 SP0
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
OdIfc4::IfcMeasureValue Class Reference

#include <Ifc4SelectTypes.h>

Inheritance diagram for OdIfc4::IfcMeasureValue:
OdDAI::OdSelect

Public Types

enum  eIfcMeasureValue {
  kIfcMeasureValue_unset , kIfcMeasureValue_IfcAmountOfSubstanceMeasure , kIfcMeasureValue_IfcAreaMeasure , kIfcMeasureValue_IfcComplexNumber ,
  kIfcMeasureValue_IfcContextDependentMeasure , kIfcMeasureValue_IfcCountMeasure , kIfcMeasureValue_IfcDescriptiveMeasure , kIfcMeasureValue_IfcElectricCurrentMeasure ,
  kIfcMeasureValue_IfcLengthMeasure , kIfcMeasureValue_IfcLuminousIntensityMeasure , kIfcMeasureValue_IfcMassMeasure , kIfcMeasureValue_IfcNonNegativeLengthMeasure ,
  kIfcMeasureValue_IfcNormalisedRatioMeasure , kIfcMeasureValue_IfcNumericMeasure , kIfcMeasureValue_IfcParameterValue , kIfcMeasureValue_IfcPlaneAngleMeasure ,
  kIfcMeasureValue_IfcPositiveLengthMeasure , kIfcMeasureValue_IfcPositivePlaneAngleMeasure , kIfcMeasureValue_IfcPositiveRatioMeasure , kIfcMeasureValue_IfcRatioMeasure ,
  kIfcMeasureValue_IfcSolidAngleMeasure , kIfcMeasureValue_IfcThermodynamicTemperatureMeasure , kIfcMeasureValue_IfcTimeMeasure , kIfcMeasureValue_IfcVolumeMeasure
}
 
- Public Types inherited from OdDAI::OdSelect
enum  OdSelectKind {
  kUnset = 0 , kObjectId = 1 , kInt32 = 2 , kBoolean = 3 ,
  kDouble = 4 , kBinary = 5 , kLogical = 6 , kObjectIdArray = 7 ,
  kInt32Array = 8 , kDoubleArray = 9 , kAnsiString = 10
}
 

Public Member Functions

 IfcMeasureValue ()
 
 IfcMeasureValue (const IfcMeasureValue &other)
 
virtual OdResult readTypedField (const OdAnsiString &typeDef, OdDAI::OdSpfFilerBase *rdFiler)
 
virtual OdResult writeTypedField (OdDAI::OdSpfFilerBase *wrFiler) const
 
void _d (eIfcMeasureValue determinant)
 
virtual long _d () const
 
virtual const OdAnsiString underlyingTypeName () const
 
virtual bool underlyingTypeName (OdAnsiString typeName)
 
virtual eIfcMeasureValue underlyingTypeByName (OdAnsiString typeName)
 
virtual int exists () const
 
- Public Member Functions inherited from OdDAI::OdSelect
 OdSelect (const OdSelect &other)
 
 OdSelect ()
 
virtual ~OdSelect ()
 
OdSelectoperator= (const OdSelect &other)
 
virtual void nullify ()
 
OdSelectKind kind () const
 
void setHandle (OdDAIObjectId val)
 
void setInt32 (int val)
 
void setBool (bool val)
 
void setDouble (double val)
 
void setString (OdAnsiString &val)
 
void setBINARY (BINARY &val)
 
void setLogical (OdLogical &val)
 
void setInt32Array (OdArray< int > &val)
 
void setHandleArray (OdArray< OdDAIObjectId > &val)
 
void setDoubleArray (OdArray< double > &val)
 
bool getInt32 (int &ret) const
 
bool getDouble (double &ret) const
 
bool getBool (bool &ret) const
 
bool getString (OdAnsiString &ret) const
 
bool getHandle (OdDAIObjectId &res) const
 
OdDAIObjectId getHandle () const
 
bool getLogical (OdLogical &ret) const
 
bool getBINARY (OdAnsiString &res) const
 
bool getInt32Array (OdArray< int > &res) const
 
bool getHandleArray (OdArray< OdDAIObjectId > &res) const
 
bool getDoubleArray (OdArray< double > &res) const
 
bool getBINARY (char *&res) const
 
OdResult in (OdSpfFilerBase *rdFiler, bool opt=false, bool comma_needed=true)
 
void out (OdSpfFilerBase *wrFiler, bool opt=false, bool comma_needed=true)
 

Static Public Attributes

static const OdAnsiString sIfcAmountOfSubstanceMeasure
 
static const OdAnsiString sIfcAreaMeasure
 
static const OdAnsiString sIfcComplexNumber
 
static const OdAnsiString sIfcContextDependentMeasure
 
static const OdAnsiString sIfcCountMeasure
 
static const OdAnsiString sIfcDescriptiveMeasure
 
static const OdAnsiString sIfcElectricCurrentMeasure
 
static const OdAnsiString sIfcLengthMeasure
 
static const OdAnsiString sIfcLuminousIntensityMeasure
 
static const OdAnsiString sIfcMassMeasure
 
static const OdAnsiString sIfcNonNegativeLengthMeasure
 
static const OdAnsiString sIfcNormalisedRatioMeasure
 
static const OdAnsiString sIfcNumericMeasure
 
static const OdAnsiString sIfcParameterValue
 
static const OdAnsiString sIfcPlaneAngleMeasure
 
static const OdAnsiString sIfcPositiveLengthMeasure
 
static const OdAnsiString sIfcPositivePlaneAngleMeasure
 
static const OdAnsiString sIfcPositiveRatioMeasure
 
static const OdAnsiString sIfcRatioMeasure
 
static const OdAnsiString sIfcSolidAngleMeasure
 
static const OdAnsiString sIfcThermodynamicTemperatureMeasure
 
static const OdAnsiString sIfcTimeMeasure
 
static const OdAnsiString sIfcVolumeMeasure
 

Protected Member Functions

virtual void setHandleD ()
 
virtual void unset ()
 
- Protected Member Functions inherited from OdDAI::OdSelect
virtual OdResult readTypedField (const OdAnsiString &typeDef, OdSpfFilerBase *rdFiler)
 
virtual OdResult writeTypedField (OdSpfFilerBase *wrFiler) const
 

Protected Attributes

eIfcMeasureValue m_determinant
 
- Protected Attributes inherited from OdDAI::OdSelect
OdSelectKind m_kind
 
union {
   OdUInt64   m_hndl
 
   int   m_int
 
   bool   m_bool
 
   double   m_dbl
 
   void *   m_ptr
 
}; 
 

Detailed Description

Definition at line 1109 of file Ifc4SelectTypes.h.

Member Enumeration Documentation

◆ eIfcMeasureValue

Enumerator
kIfcMeasureValue_unset 
kIfcMeasureValue_IfcAmountOfSubstanceMeasure 
kIfcMeasureValue_IfcAreaMeasure 
kIfcMeasureValue_IfcComplexNumber 
kIfcMeasureValue_IfcContextDependentMeasure 
kIfcMeasureValue_IfcCountMeasure 
kIfcMeasureValue_IfcDescriptiveMeasure 
kIfcMeasureValue_IfcElectricCurrentMeasure 
kIfcMeasureValue_IfcLengthMeasure 
kIfcMeasureValue_IfcLuminousIntensityMeasure 
kIfcMeasureValue_IfcMassMeasure 
kIfcMeasureValue_IfcNonNegativeLengthMeasure 
kIfcMeasureValue_IfcNormalisedRatioMeasure 
kIfcMeasureValue_IfcNumericMeasure 
kIfcMeasureValue_IfcParameterValue 
kIfcMeasureValue_IfcPlaneAngleMeasure 
kIfcMeasureValue_IfcPositiveLengthMeasure 
kIfcMeasureValue_IfcPositivePlaneAngleMeasure 
kIfcMeasureValue_IfcPositiveRatioMeasure 
kIfcMeasureValue_IfcRatioMeasure 
kIfcMeasureValue_IfcSolidAngleMeasure 
kIfcMeasureValue_IfcThermodynamicTemperatureMeasure 
kIfcMeasureValue_IfcTimeMeasure 
kIfcMeasureValue_IfcVolumeMeasure 

Definition at line 1144 of file Ifc4SelectTypes.h.

Constructor & Destructor Documentation

◆ IfcMeasureValue() [1/2]

OdIfc4::IfcMeasureValue::IfcMeasureValue ( )
inline

Definition at line 1113 of file Ifc4SelectTypes.h.

◆ IfcMeasureValue() [2/2]

OdIfc4::IfcMeasureValue::IfcMeasureValue ( const IfcMeasureValue other)
inline

Definition at line 1114 of file Ifc4SelectTypes.h.

Member Function Documentation

◆ _d() [1/2]

virtual long OdIfc4::IfcMeasureValue::_d ( ) const
inlinevirtual

Retrieves the "Select" data type determinant.

Returns
Returns a long value that represents the type determinant.

Implements OdDAI::OdSelect.

Definition at line 1172 of file Ifc4SelectTypes.h.

◆ _d() [2/2]

void OdIfc4::IfcMeasureValue::_d ( eIfcMeasureValue  determinant)
inline

Definition at line 1171 of file Ifc4SelectTypes.h.

◆ exists()

virtual int OdIfc4::IfcMeasureValue::exists ( ) const
inlinevirtual

Determines whether the value is set for the "Select" datatype instance.

Returns
Returns 1 if the value is set.

Implements OdDAI::OdSelect.

Definition at line 1178 of file Ifc4SelectTypes.h.

◆ readTypedField()

virtual OdResult OdIfc4::IfcMeasureValue::readTypedField ( const OdAnsiString &  typeDef,
OdDAI::OdSpfFilerBase *  rdFiler 
)
virtual

◆ setHandleD()

virtual void OdIfc4::IfcMeasureValue::setHandleD ( )
inlineprotectedvirtual

Sets the specific underlying type enum for the stored handle.

Implements OdDAI::OdSelect.

Definition at line 1182 of file Ifc4SelectTypes.h.

◆ underlyingTypeByName()

virtual eIfcMeasureValue OdIfc4::IfcMeasureValue::underlyingTypeByName ( OdAnsiString  typeName)
virtual

◆ underlyingTypeName() [1/2]

virtual const OdAnsiString OdIfc4::IfcMeasureValue::underlyingTypeName ( ) const
virtual

Retrieves the name of the current underlying type.

Returns
Returns an ANSI string that contains the name of the underlying type.

Implements OdDAI::OdSelect.

◆ underlyingTypeName() [2/2]

virtual bool OdIfc4::IfcMeasureValue::underlyingTypeName ( OdAnsiString  typeName)
virtual

Sets a new name of the underlying type.

Parameters
typeName[in] An ANSI string that contains the new name.
Returns
Returns false if the new type name is incorrect for the "Select" data type.

Implements OdDAI::OdSelect.

◆ unset()

virtual void OdIfc4::IfcMeasureValue::unset ( )
inlineprotectedvirtual

Unsets the discriminant of the derived type.

Implements OdDAI::OdSelect.

Definition at line 1184 of file Ifc4SelectTypes.h.

◆ writeTypedField()

virtual OdResult OdIfc4::IfcMeasureValue::writeTypedField ( OdDAI::OdSpfFilerBase *  wrFiler) const
virtual

Member Data Documentation

◆ m_determinant

eIfcMeasureValue OdIfc4::IfcMeasureValue::m_determinant
protected

Definition at line 1181 of file Ifc4SelectTypes.h.

◆ sIfcAmountOfSubstanceMeasure

const OdAnsiString OdIfc4::IfcMeasureValue::sIfcAmountOfSubstanceMeasure
static

Definition at line 1120 of file Ifc4SelectTypes.h.

◆ sIfcAreaMeasure

const OdAnsiString OdIfc4::IfcMeasureValue::sIfcAreaMeasure
static

Definition at line 1121 of file Ifc4SelectTypes.h.

◆ sIfcComplexNumber

const OdAnsiString OdIfc4::IfcMeasureValue::sIfcComplexNumber
static

Definition at line 1122 of file Ifc4SelectTypes.h.

◆ sIfcContextDependentMeasure

const OdAnsiString OdIfc4::IfcMeasureValue::sIfcContextDependentMeasure
static

Definition at line 1123 of file Ifc4SelectTypes.h.

◆ sIfcCountMeasure

const OdAnsiString OdIfc4::IfcMeasureValue::sIfcCountMeasure
static

Definition at line 1124 of file Ifc4SelectTypes.h.

◆ sIfcDescriptiveMeasure

const OdAnsiString OdIfc4::IfcMeasureValue::sIfcDescriptiveMeasure
static

Definition at line 1125 of file Ifc4SelectTypes.h.

◆ sIfcElectricCurrentMeasure

const OdAnsiString OdIfc4::IfcMeasureValue::sIfcElectricCurrentMeasure
static

Definition at line 1126 of file Ifc4SelectTypes.h.

◆ sIfcLengthMeasure

const OdAnsiString OdIfc4::IfcMeasureValue::sIfcLengthMeasure
static

Definition at line 1127 of file Ifc4SelectTypes.h.

◆ sIfcLuminousIntensityMeasure

const OdAnsiString OdIfc4::IfcMeasureValue::sIfcLuminousIntensityMeasure
static

Definition at line 1128 of file Ifc4SelectTypes.h.

◆ sIfcMassMeasure

const OdAnsiString OdIfc4::IfcMeasureValue::sIfcMassMeasure
static

Definition at line 1129 of file Ifc4SelectTypes.h.

◆ sIfcNonNegativeLengthMeasure

const OdAnsiString OdIfc4::IfcMeasureValue::sIfcNonNegativeLengthMeasure
static

Definition at line 1130 of file Ifc4SelectTypes.h.

◆ sIfcNormalisedRatioMeasure

const OdAnsiString OdIfc4::IfcMeasureValue::sIfcNormalisedRatioMeasure
static

Definition at line 1131 of file Ifc4SelectTypes.h.

◆ sIfcNumericMeasure

const OdAnsiString OdIfc4::IfcMeasureValue::sIfcNumericMeasure
static

Definition at line 1132 of file Ifc4SelectTypes.h.

◆ sIfcParameterValue

const OdAnsiString OdIfc4::IfcMeasureValue::sIfcParameterValue
static

Definition at line 1133 of file Ifc4SelectTypes.h.

◆ sIfcPlaneAngleMeasure

const OdAnsiString OdIfc4::IfcMeasureValue::sIfcPlaneAngleMeasure
static

Definition at line 1134 of file Ifc4SelectTypes.h.

◆ sIfcPositiveLengthMeasure

const OdAnsiString OdIfc4::IfcMeasureValue::sIfcPositiveLengthMeasure
static

Definition at line 1135 of file Ifc4SelectTypes.h.

◆ sIfcPositivePlaneAngleMeasure

const OdAnsiString OdIfc4::IfcMeasureValue::sIfcPositivePlaneAngleMeasure
static

Definition at line 1136 of file Ifc4SelectTypes.h.

◆ sIfcPositiveRatioMeasure

const OdAnsiString OdIfc4::IfcMeasureValue::sIfcPositiveRatioMeasure
static

Definition at line 1137 of file Ifc4SelectTypes.h.

◆ sIfcRatioMeasure

const OdAnsiString OdIfc4::IfcMeasureValue::sIfcRatioMeasure
static

Definition at line 1138 of file Ifc4SelectTypes.h.

◆ sIfcSolidAngleMeasure

const OdAnsiString OdIfc4::IfcMeasureValue::sIfcSolidAngleMeasure
static

Definition at line 1139 of file Ifc4SelectTypes.h.

◆ sIfcThermodynamicTemperatureMeasure

const OdAnsiString OdIfc4::IfcMeasureValue::sIfcThermodynamicTemperatureMeasure
static

Definition at line 1140 of file Ifc4SelectTypes.h.

◆ sIfcTimeMeasure

const OdAnsiString OdIfc4::IfcMeasureValue::sIfcTimeMeasure
static

Definition at line 1141 of file Ifc4SelectTypes.h.

◆ sIfcVolumeMeasure

const OdAnsiString OdIfc4::IfcMeasureValue::sIfcVolumeMeasure
static

Definition at line 1142 of file Ifc4SelectTypes.h.


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