Class Ifc4x2::IfcDuration

Nested Relationships

This class is a nested type of Struct Ifc4x2.

Inheritance Relationships

Base Type

Class Documentation

class Ifc4x2::IfcDuration : public IfcUtil::IfcBaseType

String representation of a time duration according to ISO8601:2000 “Data elements and interchange formats - Information interchange - Representation of dates and times” as defined in section 5.5.3 “Representation of duration”. It is recommended to use the alternative format (section 5.5.4.2.2) in its extended version: PYYYY-MM-DDThh:mm:ss. EXAMPLE: P0002-10-15T10:30:20 (duration of two years, 10 months, 15 days, 10 hours, 30 minutes and 20 seconds).

HISTORY: New type in IFC2x4

Public Functions

const IfcParse::type_declaration &declaration() const
IfcDuration(IfcEntityInstanceData *e)
IfcDuration(std::string v)
operator std::string() const

Public Static Functions

const IfcParse::type_declaration &Class()