Class Ifc4::IfcQuantityTime

Nested Relationships

This class is a nested type of Struct Ifc4.

Inheritance Relationships

Base Type

Class Documentation

class Ifc4::IfcQuantityTime : public Ifc4::IfcPhysicalSimpleQuantity

IfcQuantityTime is an element quantity that defines a time measure to provide an property of time related to an element. It is normally given by the recipe information of the element under the specific measure rules given by a method of measurement.

EXAMPLE The amount of time needed to pour concrete for a wall is given as a time quantity for the labor part of the recipe information.

HISTORY New entity in IFC2x2.

Public Types

typedef IfcTemplatedEntityList<IfcQuantityTime> list

Public Functions

double TimeValue() const

Time measure value of this quantity.

void setTimeValue(double v)
bool hasFormula() const

Whether the optional attribute Formula is defined for this IfcQuantityTime.

std::string Formula() const

A formula by which the quantity has been calculated. It can be assigned in addition to the actual value of the quantity. Formulas could be mathematic calculations (like width x height), database links, or a combination. The formula is for informational purposes only.

IFC2x4 CHANGE Attribute added to the end of the attribute list.

void setFormula(std::string v)
const IfcParse::entity &declaration() const
IfcQuantityTime(IfcEntityInstanceData *e)
IfcQuantityTime(std::string v1_Name, boost::optional<std::string> v2_Description, ::Ifc4::IfcNamedUnit *v3_Unit, double v4_TimeValue, boost::optional<std::string> v5_Formula)

Public Static Functions

const IfcParse::entity &Class()