Class Ifc2x3::IfcPhysicalSimpleQuantity¶
Defined in File Ifc2x3.h
Nested Relationships¶
This class is a nested type of Struct Ifc2x3.
Inheritance Relationships¶
Base Type¶
public Ifc2x3::IfcPhysicalQuantity
(Class Ifc2x3::IfcPhysicalQuantity)
Derived Types¶
public Ifc2x3::IfcQuantityArea
(Class Ifc2x3::IfcQuantityArea)public Ifc2x3::IfcQuantityCount
(Class Ifc2x3::IfcQuantityCount)public Ifc2x3::IfcQuantityLength
(Class Ifc2x3::IfcQuantityLength)public Ifc2x3::IfcQuantityTime
(Class Ifc2x3::IfcQuantityTime)public Ifc2x3::IfcQuantityVolume
(Class Ifc2x3::IfcQuantityVolume)public Ifc2x3::IfcQuantityWeight
(Class Ifc2x3::IfcQuantityWeight)
Class Documentation¶
-
class
Ifc2x3
::
IfcPhysicalSimpleQuantity
: public Ifc2x3::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 Ifc2x3::IfcQuantityArea, Ifc2x3::IfcQuantityCount, Ifc2x3::IfcQuantityLength, Ifc2x3::IfcQuantityTime, Ifc2x3::IfcQuantityVolume, Ifc2x3::IfcQuantityWeight
Public Types
-
typedef IfcTemplatedEntityList<IfcPhysicalSimpleQuantity>
list
¶
Public Functions
-
bool
hasUnit
() const¶ Whether the optional attribute Unit is defined for this IfcPhysicalSimpleQuantity.
-
::Ifc2x3::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
(::Ifc2x3::IfcNamedUnit *v)¶
-
IfcPhysicalSimpleQuantity
(IfcEntityInstanceData *e)¶
-
IfcPhysicalSimpleQuantity
(std::string v1_Name, boost::optional<std::string> v2_Description, ::Ifc2x3::IfcNamedUnit *v3_Unit)¶
-
typedef IfcTemplatedEntityList<IfcPhysicalSimpleQuantity>