Class Ifc4::IfcMeasureWithUnit

Nested Relationships

This class is a nested type of Struct Ifc4.

Inheritance Relationships

Base Type

Class Documentation

class Ifc4::IfcMeasureWithUnit : public IfcUtil::IfcBaseEntity

Definition from ISO/CD 10303-41:1992: A measure with unit is the specification of a physical quantity as defined in ISO 31 (clause 2).

IfcMeasureWithUnit has two usages:

  1. For representing measure value together with its unit on the entity type attribute level; thus overriding the IFC model global unit assignments.

  2. For conversion based unit to give the conversion rate and its base.

NOTE Corresponding ISO 10303 name: measure_with_unit, please refer to ISO/IS 10303-41 for the final definition of the formal standard.

HISTORY New entity in IFC Release 1.5.1.

Public Types

typedef IfcTemplatedEntityList<IfcMeasureWithUnit> list

Public Functions

::Ifc4::IfcValue *ValueComponent() const

The value of the physical quantity when expressed in the specified units.

void setValueComponent(::Ifc4::IfcValue *v)
::Ifc4::IfcUnit *UnitComponent() const

The unit in which the physical quantity is expressed.

void setUnitComponent(::Ifc4::IfcUnit *v)
const IfcParse::entity &declaration() const
IfcMeasureWithUnit(IfcEntityInstanceData *e)
IfcMeasureWithUnit(::Ifc4::IfcValue *v1_ValueComponent, ::Ifc4::IfcUnit *v2_UnitComponent)

Public Static Functions

const IfcParse::entity &Class()