Class Ifc4x2::IfcWorkTime¶
Defined in File Ifc4x2.h
Nested Relationships¶
This class is a nested type of Struct Ifc4x2.
Inheritance Relationships¶
Base Type¶
public Ifc4x2::IfcSchedulingTime
(Class Ifc4x2::IfcSchedulingTime)
Class Documentation¶
-
class
Ifc4x2
::
IfcWorkTime
: public Ifc4x2::IfcSchedulingTime¶ IfcWorkTime defines time periods that are used by IfcWorkCalendar for either describing working times or non-working exception times. Besides start and finish dates, a set of time periods can be given by various types of recurrence patterns.
HISTORY: New entity in IFC2x4.
Use definitions A work time should have a meaningful name that describes the time periods (for example, working week, holiday name). Non-recurring time periods should have a start date (IfcWorkTime.Start) and a finish date (IfcWorkTime.Finish). In that case it is assumed that the time period begins at 0:00 on the start date and ends at 24:00 on the finish date.
The start and finish date is optional if a recurrence pattern is given (IfcWorkTime.RecurrencePattern). They then restrict never-ending recurrence patterns.
Public Types
-
typedef IfcTemplatedEntityList<IfcWorkTime>
list
¶
Public Functions
-
bool
hasRecurrencePattern
() const¶ Whether the optional attribute RecurrencePattern is defined for this IfcWorkTime.
-
::Ifc4x2::IfcRecurrencePattern *
RecurrencePattern
() const¶ Recurrence pattern that defines a time period, which, if given, is valid within the time period defined by IfcWorkTime.Start and IfcWorkTime.Finish.
-
void
setRecurrencePattern
(::Ifc4x2::IfcRecurrencePattern *v)¶
-
bool
hasStart
() const¶ Whether the optional attribute Start is defined for this IfcWorkTime.
-
std::string
Start
() const¶ Start date of the work time (0:00), that might be further restricted by a recurrence pattern.
-
void
setStart
(std::string v)¶
-
bool
hasFinish
() const¶ Whether the optional attribute Finish is defined for this IfcWorkTime.
-
std::string
Finish
() const¶ End date of the work time (24:00), that might be further restricted by a recurrence pattern.
-
void
setFinish
(std::string v)¶
-
IfcWorkTime
(IfcEntityInstanceData *e)¶
-
IfcWorkTime
(boost::optional<std::string> v1_Name, boost::optional<::Ifc4x2::IfcDataOriginEnum::Value> v2_DataOrigin, boost::optional<std::string> v3_UserDefinedDataOrigin, ::Ifc4x2::IfcRecurrencePattern *v4_RecurrencePattern, boost::optional<std::string> v5_Start, boost::optional<std::string> v6_Finish)¶
-
typedef IfcTemplatedEntityList<IfcWorkTime>