Class Ifc4x1::IfcPhysicalSimpleQuantity¶
Defined in File Ifc4x1.h
Nested Relationships¶
This class is a nested type of Struct Ifc4x1.
Inheritance Relationships¶
Base Type¶
public Ifc4x1::IfcPhysicalQuantity
(Class Ifc4x1::IfcPhysicalQuantity)
Derived Types¶
public Ifc4x1::IfcQuantityArea
(Class Ifc4x1::IfcQuantityArea)public Ifc4x1::IfcQuantityCount
(Class Ifc4x1::IfcQuantityCount)public Ifc4x1::IfcQuantityLength
(Class Ifc4x1::IfcQuantityLength)public Ifc4x1::IfcQuantityTime
(Class Ifc4x1::IfcQuantityTime)public Ifc4x1::IfcQuantityVolume
(Class Ifc4x1::IfcQuantityVolume)public Ifc4x1::IfcQuantityWeight
(Class Ifc4x1::IfcQuantityWeight)
Class Documentation¶
-
class
Ifc4x1
::
IfcPhysicalSimpleQuantity
: public Ifc4x1::IfcPhysicalQuantity¶ The physical quantity, IfcPhysicalSimpleQuantity, is an entity that holds a single quantity measure value (as defined at the subtypes of IfcPhysicalSimpleQuantity) together with a semantic definition of the usage for the measure value.
EXAMPLE An element, like a wall, may have several area measures, like footprint area, left wall face area, right wall face area. These areas would be given by three instances of the area quantity subtype, with different Name string values.
A section “Quantity Use Definition” at individual entities as subtypes of IfcBuildingElement gives guidance to the usage of the Name attribute to characterize the individual quantities. If the Unit attribute is given, the value attribute (introduced at the level of subtypes of IfcPhysicalSimpleQuantity) are given as quantities of this unit, otherwise the global unit definitions (given by IfcUnitAssignment) are used.
HISTORY New entity in IFC2x2 Addendum 1.
IFC2x2 ADDENDUM 1 CHANGE The abstract entity IfcPhysicalSimpleQuantity has been added. Upward compatibility for file based exchange is guaranteed.
Subclassed by Ifc4x1::IfcQuantityArea, Ifc4x1::IfcQuantityCount, Ifc4x1::IfcQuantityLength, Ifc4x1::IfcQuantityTime, Ifc4x1::IfcQuantityVolume, Ifc4x1::IfcQuantityWeight
Public Types
-
typedef IfcTemplatedEntityList<IfcPhysicalSimpleQuantity>
list
¶
Public Functions
-
bool
hasUnit
() const¶ Whether the optional attribute Unit is defined for this IfcPhysicalSimpleQuantity.
-
::Ifc4x1::IfcNamedUnit *
Unit
() const¶ Optional assignment of a unit. If no unit is given, then the global unit assignment, as established at the IfcProject, applies to the quantity measures.
-
void
setUnit
(::Ifc4x1::IfcNamedUnit *v)¶
-
IfcPhysicalSimpleQuantity
(IfcEntityInstanceData *e)¶
-
IfcPhysicalSimpleQuantity
(std::string v1_Name, boost::optional<std::string> v2_Description, ::Ifc4x1::IfcNamedUnit *v3_Unit)¶
-
typedef IfcTemplatedEntityList<IfcPhysicalSimpleQuantity>