|
CFx SDK Documentation 2026 SP0
|
#include <IfcRecurrencePatternAutoImpl.h>
Public Member Functions | |
| IfcRecurrenceTypeEnum | getRecurrenceType () const |
| void | setRecurrenceType (IfcRecurrenceTypeEnum RecurrenceType) |
| void | getDayComponent (OdArray< int > &DayComponent) const |
| OdDAI::SetOfInt & | dayComponent () |
| void | getWeekdayComponent (OdArray< int > &WeekdayComponent) const |
| OdDAI::SetOfInt & | weekdayComponent () |
| void | getMonthComponent (OdArray< int > &MonthComponent) const |
| OdDAI::SetOfInt & | monthComponent () |
| int | getPosition () const |
| void | setPosition (int Position) |
| int | getInterval () const |
| void | setInterval (int Interval) |
| int | getOccurrences () const |
| void | setOccurrences (int Occurrences) |
| void | getTimePeriods (OdDAIObjectIds &TimePeriods) const |
| OdDAI::ListOfOdDAIObjectId & | timePeriods () |
| IfcRecurrencePattern () | |
| 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 bool | comparedToEarlyImpl (const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) 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 OdIfc4x3_rc1::OdIfc4x3_RC1Instance | |
| 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 | |
| OdDAI::Enum | m_RecurrenceType |
| OdDAI::SetOfInt | m_DayComponent |
| OdDAI::SetOfInt | m_WeekdayComponent |
| OdDAI::SetOfInt | m_MonthComponent |
| int | m_Position |
| int | m_Interval |
| int | m_Occurrences |
| OdDAI::ListOfOdDAIObjectId | m_TimePeriods |
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) |
IfcRecurrencePattern defines repetitive time periods on the basis of regular recurrences such as each Monday in a week, or every third Tuesday in a month. The population of the remaining attributes such as DayComponent, Position, and Interval depend on the specified recurrence type.
IfcRecurrencePattern supports various recurrence patterns that are differentiated by a type definition (IfcRecurrencePattern.RecurrenceType), which is required to provide the meaning of the provided values. It can be further constrained by applicable times through specified IfcTimePeriod instances, thus enabling time periods such as between 7:00 and 12:00 and between 13:00 and 17:00 for each of the applicable days, weeks or months.
Definition at line 52 of file Ifc4x3_RC1/IfcRecurrencePatternAutoImpl.h.
| OdIfc4x3_rc1::IfcRecurrencePattern::IfcRecurrencePattern | ( | ) |
Default constructor for the IfcRecurrencePattern class.
|
overridevirtual |
Early-bound version of instances comparison.
| pOther | [in] Other application instance. |
| ordering | [out] Receives the ordering (comparison) status. |
| OdDAI::SetOfInt & OdIfc4x3_rc1::IfcRecurrencePattern::dayComponent | ( | ) |
Returns the value of DayComponent attribute. This attribute represents the position of the specified day in a month.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc::OdIfcInstance.
Sets the value of DayComponent attribute. This attribute represents the position of the specified day in a month.
| DayComponent | [in] Day component to set. |
|
overridevirtual |
Returns a type of a class instance.
| int OdIfc4x3_rc1::IfcRecurrencePattern::getInterval | ( | ) | const |
Returns the value of Interval attribute. This attribute represents an interval can be provided according to the pattern type. An interval value of 2 can for instance every two days, weeks, months, years. An empty interval value is regarded as 1.
Sets the value of MonthComponent attribute. This attribute represents the position of the specified month in a year.
| MonthComponent | [in] Month component to set. |
| int OdIfc4x3_rc1::IfcRecurrencePattern::getOccurrences | ( | ) | const |
Returns the value of Occurrences attribute. This attribute represents the number of occurrences of this pattern, e.g. a weekly event can be defined to occur 5 times before it stops.
| int OdIfc4x3_rc1::IfcRecurrencePattern::getPosition | ( | ) | const |
Returns the value of Position attribute. This attribute represents the position of the specified component, e.g. the 3rd (position=3) Tuesday (weekday component) in a month. A negative position value is used to define the last position of the component (-1), the next to last position (-2), etc.
| IfcRecurrenceTypeEnum OdIfc4x3_rc1::IfcRecurrencePattern::getRecurrenceType | ( | ) | const |
Returns the value of RecurrenceType attribute. This attribute represents the recurrence type that gives meaning to the used attributes and decides about possible attribute combinations, i.e. what attributes are needed to fully describe the pattern type.
| void OdIfc4x3_rc1::IfcRecurrencePattern::getTimePeriods | ( | OdDAIObjectIds & | TimePeriods | ) | const |
Sets the value of TimePeriods attribute. This attribute represents list of time periods that are defined by a start and end time of the recurring element (day). The order of the list should reflect the sequence of the time periods.
| TimePeriods | [in] Time periods to set. |
| void OdIfc4x3_rc1::IfcRecurrencePattern::getWeekdayComponent | ( | OdArray< int > & | WeekdayComponent | ) | const |
Sets the value of WeekdayComponent attribute. This attribute represents the weekday name of the specified day in a week.
| WeekdayComponent | [in] Weekday component to set. |
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc::OdIfcInstance.
| OdDAI::SetOfInt & OdIfc4x3_rc1::IfcRecurrencePattern::monthComponent | ( | ) |
Returns the value of MonthComponent attribute. This attribute represents the position of the specified month in a year.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
|
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 OdIfc::OdIfcInstance.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc::OdIfcInstance.
| void OdIfc4x3_rc1::IfcRecurrencePattern::setInterval | ( | int | Interval | ) |
Sets the value of Interval attribute. This attribute represents an interval can be provided according to the pattern type. An interval value of 2 can for instance every two days, weeks, months, years. An empty interval value is regarded as 1.
| Interval | [in] Interval to set. |
| void OdIfc4x3_rc1::IfcRecurrencePattern::setOccurrences | ( | int | Occurrences | ) |
Sets the value of Occurrences attribute. This attribute represents the number of occurrences of this pattern, e.g. a weekly event can be defined to occur 5 times before it stops.
| Occurrences | [in] Occurrences to set. |
| void OdIfc4x3_rc1::IfcRecurrencePattern::setPosition | ( | int | Position | ) |
Sets the value of Position attribute. This attribute represents the position of the specified component, e.g. the 3rd (position=3) Tuesday (weekday component) in a month. A negative position value is used to define the last position of the component (-1), the next to last position (-2), etc.
| Position | [in] Position to set. |
| void OdIfc4x3_rc1::IfcRecurrencePattern::setRecurrenceType | ( | IfcRecurrenceTypeEnum | RecurrenceType | ) |
Sets the value of RecurrenceType attribute. This attribute represents the recurrence type that gives meaning to the used attributes and decides about possible attribute combinations, i.e. what attributes are needed to fully describe the pattern type.
| RecurrenceType | [in] Recurrence type to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc::OdIfcInstance.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc::OdIfcInstance.
| OdDAI::ListOfOdDAIObjectId & OdIfc4x3_rc1::IfcRecurrencePattern::timePeriods | ( | ) |
Returns the value of TimePeriods attribute. This attribute represents list of time periods that are defined by a start and end time of the recurring element (day). The order of the list should reflect the sequence of the time periods.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc::OdIfcInstance.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc::OdIfcInstance.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc::OdIfcInstance.
| OdDAI::SetOfInt & OdIfc4x3_rc1::IfcRecurrencePattern::weekdayComponent | ( | ) |
Returns the value of WeekdayComponent attribute. This attribute represents the weekday name of the specified day in a week.
|
protected |
Definition at line 328 of file Ifc4x3_RC1/IfcRecurrencePatternAutoImpl.h.
|
protected |
Definition at line 335 of file Ifc4x3_RC1/IfcRecurrencePatternAutoImpl.h.
|
protected |
Definition at line 332 of file Ifc4x3_RC1/IfcRecurrencePatternAutoImpl.h.
|
protected |
Definition at line 336 of file Ifc4x3_RC1/IfcRecurrencePatternAutoImpl.h.
|
protected |
Definition at line 334 of file Ifc4x3_RC1/IfcRecurrencePatternAutoImpl.h.
|
protected |
Definition at line 327 of file Ifc4x3_RC1/IfcRecurrencePatternAutoImpl.h.
|
protected |
Definition at line 337 of file Ifc4x3_RC1/IfcRecurrencePatternAutoImpl.h.
|
protected |
Definition at line 330 of file Ifc4x3_RC1/IfcRecurrencePatternAutoImpl.h.