|
CFx SDK Documentation 2026 SP0
|
#include <IfcWorkTimeAutoImpl.h>
Public Member Functions | |
| const OdDAIObjectId & | getRecurrencePattern () const |
| void | setRecurrencePattern (const OdDAIObjectId &RecurrencePattern) |
| const OdAnsiString & | getStart () const |
| void | setStart (const OdAnsiString &Start) |
| const OdAnsiString & | getFinish () const |
| void | setFinish (const OdAnsiString &Finish) |
| IfcWorkTime () | |
| virtual OdResult | inFields (OdDAI::OdSpfFilerBase *rdFiler) override |
| virtual OdResult | outFields (OdDAI::OdSpfFilerBase *wrFiler) override |
| virtual OdDAI::Entity * | getInstanceType () const override |
| virtual OdRxValue | getAttr (const char *attrName) const override |
| virtual void | unsetAttr (const char *explicitAttrName) override |
| virtual bool | testAttr (const char *explicitAttrName) const override |
| virtual bool | putAttr (const char *explicitAttrName, const OdRxValue &val) override |
| virtual bool | isKindOf (OdIfc::OdIfcEntityType entityType) const override |
| virtual OdIfc::OdIfcEntityType | type () const override |
| virtual OdRxValue | getAttr (const OdIfc::OdIfcAttribute attrDef) const override |
| virtual void | unsetAttr (const OdIfc::OdIfcAttribute explicitAttrDef) override |
| virtual bool | testAttr (const OdIfc::OdIfcAttribute explicitAttrDef) const override |
| virtual bool | putAttr (const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override |
Public Member Functions inherited from OdIfc4x2::IfcSchedulingTime | |
| const OdAnsiString & | getName () const |
| void | setName (const OdAnsiString &Name) |
| IfcDataOriginEnum | getDataOrigin () const |
| void | setDataOrigin (IfcDataOriginEnum DataOrigin) |
| const OdAnsiString & | getUserDefinedDataOrigin () const |
| void | setUserDefinedDataOrigin (const OdAnsiString &UserDefinedDataOrigin) |
| IfcSchedulingTime () | |
Public Member Functions inherited from OdIfc4x2::OdIfc4x2Instance | |
| void | setInverseCounterParts () override |
Public Member Functions inherited from OdIfc::OdIfcInstance | |
| ODRX_DECLARE_MEMBERS (OdIfcInstance) | |
| OdIfcInstance () | |
| ~OdIfcInstance () | |
| bool | isInstanceOf (OdIfcEntityType entityType) const |
| IfcOpResult | resolved () |
| void | resolve (IfcOpResult resolved, void *resPtr) |
| void | unresolve () |
| virtual void | setGsNode (OdGsCache *pGsNode) |
| virtual OdGsCache * | gsNode () const |
| virtual OdUInt32 | subSetAttributes (OdGiDrawableTraits *traits) const |
| virtual bool | subWorldDraw (OdGiWorldDraw *wd) const |
| virtual OdDbStub * | ownerId () const |
Protected Attributes | |
| OdDAIObjectId | m_RecurrencePattern |
| OdAnsiString | m_Start |
| OdAnsiString | m_Finish |
Protected Attributes inherited from OdIfc4x2::IfcSchedulingTime | |
| OdAnsiString | m_Name |
| OdDAI::Enum | m_DataOrigin |
| OdAnsiString | m_UserDefinedDataOrigin |
Protected Attributes inherited from OdIfc::OdIfcInstance | |
| void * | m_resPtr |
| IfcOpResult | m_resolved |
Additional Inherited Members | |
Static Public Member Functions inherited from OdIfc::OdIfcInstance | |
| static const OdGePoint3d * | asPoint3d (const OdIfcInstance *inst) |
| static const OdGePoint2d * | asPoint2d (const OdIfcInstance *inst) |
| static const OdGeVector3d * | asVector3d (const OdIfcInstance *inst) |
| static const OdGeVector2d * | asVector2d (const OdIfcInstance *inst) |
| static const OdGeMatrix2d * | asMatrix2d (const OdIfcInstance *inst) |
| static const OdGeMatrix3d * | asMatrix3d (const OdIfcInstance *inst) |
| static OdIfcCompoundPtr | asCompound (OdSmartPtr< OdIfcInstance > inst) |
| static const OdCmEntityColor * | asRgbColor (const OdIfcInstance *inst) |
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 provided by various types of recurrence patterns.
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.
Definition at line 46 of file Ifc4x2/IfcWorkTimeAutoImpl.h.
| OdIfc4x2::IfcWorkTime::IfcWorkTime | ( | ) |
Default constructor for the IfcWorkTime class.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented from OdIfc4x2::IfcSchedulingTime.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc4x2::IfcSchedulingTime.
| const OdAnsiString & OdIfc4x2::IfcWorkTime::getFinish | ( | ) | const |
Returns the value of Finish attribute. This attribute represents end date of the work time (24:00), that can be further restricted by a recurrence pattern.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc4x2::IfcSchedulingTime.
| const OdDAIObjectId & OdIfc4x2::IfcWorkTime::getRecurrencePattern | ( | ) | const |
Returns the value of RecurrencePattern attribute. This attribute represents recurrence pattern that defines a time period, which (if provided) is valid within the time period defined byIfcWorkTime.Start and IfcWorkTime.Finish.
| const OdAnsiString & OdIfc4x2::IfcWorkTime::getStart | ( | ) | const |
Returns the value of Start attribute. This attribute represents start date of the work time (0:00), that can be further restricted by a recurrence pattern.
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented from OdIfc4x2::IfcSchedulingTime.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc4x2::IfcSchedulingTime.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc4x2::IfcSchedulingTime.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrName | [in] Explicit name of the attribute to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc4x2::IfcSchedulingTime.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc4x2::IfcSchedulingTime.
| void OdIfc4x2::IfcWorkTime::setFinish | ( | const OdAnsiString & | Finish | ) |
Sets the value of Finish attribute. This attribute represents end date of the work time (24:00), that can be further restricted by a recurrence pattern.
| Finish | [in] Finish date to set. |
| void OdIfc4x2::IfcWorkTime::setRecurrencePattern | ( | const OdDAIObjectId & | RecurrencePattern | ) |
Sets the value of RecurrencePattern attribute. This attribute represents recurrence pattern that defines a time period, which (if provided) is valid within the time period defined byIfcWorkTime.Start and IfcWorkTime.Finish.
| RecurrencePattern | [in] Recurrence pattern to set. |
| void OdIfc4x2::IfcWorkTime::setStart | ( | const OdAnsiString & | Start | ) |
Sets the value of Start attribute. This attribute represents start date of the work time (0:00), that can be further restricted by a recurrence pattern.
| Start | [in] Start date to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc4x2::IfcSchedulingTime.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc4x2::IfcSchedulingTime.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc4x2::IfcSchedulingTime.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc4x2::IfcSchedulingTime.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc4x2::IfcSchedulingTime.
|
protected |
Definition at line 223 of file Ifc4x2/IfcWorkTimeAutoImpl.h.
|
protected |
Definition at line 221 of file Ifc4x2/IfcWorkTimeAutoImpl.h.
|
protected |
Definition at line 222 of file Ifc4x2/IfcWorkTimeAutoImpl.h.