CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
Ifc2x3/IfcConstraintAutoImpl.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, Open Design Alliance (the "Alliance").
3// All rights reserved.
4//
5// This software and its documentation and related materials are owned by
6// the Alliance. The software may only be incorporated into application
7// programs owned by members of the Alliance, subject to a signed
8// Membership Agreement and Supplemental Software License Agreement with the
9// Alliance. The structure and organization of this software are the valuable
10// trade secrets of the Alliance and its suppliers. The software is also
11// protected by copyright law and international treaty provisions. Application
12// programs incorporating this software must include the following statement
13// with their copyright notices:
14//
15// This application incorporates Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2024 by Open Design Alliance.
18// All rights reserved.
19//
20// By use of this software, its documentation or related materials, you
21// acknowledge and accept the above terms.
23
24// This file is generated automatically.
25
26#ifndef _IFC2X3_IFCCONSTRAINT_AUTO_IMPL_H
27#define _IFC2X3_IFCCONSTRAINT_AUTO_IMPL_H
28
29#include "Ifc2x3BaseClass.h"
30
31#include "Ifc2x3Enum.h"
32#include "Ifc2x3SelectTypes.h"
34
39namespace OdIfc2x3 {
40
55{
56 //DOM-IGNORE-BEGIN
57 OD_EXP_NON_INSTANTIABLE_DECLARE_MEMBERS(OdIfc2x3::IfcConstraint);
58 //DOM-IGNORE-END
59
60public:
61
62
63 //
64 // OdDAI early binding accessors
65 //
66
67
74 const OdAnsiString& getName() const;
75
81 void setName(const OdAnsiString& Name);
82
89 const OdAnsiString& getDescription() const;
90
96 void setDescription(const OdAnsiString& Description);
97
105
112
119 const OdAnsiString& getConstraintSource() const;
120
126 void setConstraintSource(const OdAnsiString& ConstraintSource);
127
135
143
152 const OdAnsiString& getUserDefinedGrade() const;
153
161 void setUserDefinedGrade(const OdAnsiString& UserDefinedGrade);
162
168 void getInvClassifiedAs(OdDAIObjectIds& ClassifiedAs) const;
169
175 void getInvRelatesConstraints(OdDAIObjectIds& RelatesConstraints) const;
176
182 void getInvIsRelatedWith(OdDAIObjectIds& IsRelatedWith) const;
183
189 void getInvPropertiesForConstraint(OdDAIObjectIds& PropertiesForConstraint) const;
190
196 void getInvAggregates(OdDAIObjectIds& Aggregates) const;
197
203 void getInvIsAggregatedIn(OdDAIObjectIds& IsAggregatedIn) const;
204
205
206public:
207
212
219 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler) override;
220
227 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler) override;
228
234 virtual OdDAI::Entity* getInstanceType() const override;
235
242 virtual OdRxValue getAttr(const char * attrName) const override;
243
261 virtual bool comparedToEarlyImpl(const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const override;
262
267 virtual void unsetAttr(const char * explicitAttrName) override;
268
275 virtual bool testAttr(const char * explicitAttrName) const override;
276
284 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val) override;
285
292 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const override;
293
299 virtual OdIfc::OdIfcEntityType type() const override;
300
307 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const override;
308
313 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef) override;
314
321 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const override;
322
330 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override;
331
332protected:
333 // Fields declaration:
334 OdAnsiString m_Name; // IfcLabel
335 OdAnsiString m_Description; // IfcText [optional]
336 OdDAI::Enum m_ConstraintGrade; // IfcConstraintEnum
337 OdAnsiString m_ConstraintSource; // IfcLabel [optional]
338 OdDAI::Select m_CreatingActor; // IfcActorSelect [optional]
339 OdDAI::Select m_CreationTime; // IfcDateTimeSelect [optional]
340 OdAnsiString m_UserDefinedGrade; // IfcLabel [optional]
341
342 // Declare friend classes for inverse attributes functionality:
345 friend class IfcConstraintRelationship;
349};
350
355
356} // namespace
357
358#endif // _IFC2X3_IFCCONSTRAINT_AUTO_IMPL_H
#define IFC2X3_EXPORT
OdResult
Definition OdResult.h:29
void setName(const OdAnsiString &Name)
virtual bool testAttr(const char *explicitAttrName) const override
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val) override
IfcConstraintEnum getConstraintGrade() const
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef) override
virtual void unsetAttr(const char *explicitAttrName) override
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler) override
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const override
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler) override
IfcDateTimeSelect creationTime()
void setUserDefinedGrade(const OdAnsiString &UserDefinedGrade)
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const override
virtual OdRxValue getAttr(const char *attrName) const override
virtual OdIfc::OdIfcEntityType type() const override
void setConstraintSource(const OdAnsiString &ConstraintSource)
void getInvClassifiedAs(OdDAIObjectIds &ClassifiedAs) const
IfcActorSelect creatingActor()
virtual OdDAI::Entity * getInstanceType() const override
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const override
const OdAnsiString & getUserDefinedGrade() const
const OdAnsiString & getConstraintSource() const
const OdAnsiString & getDescription() const
void getInvAggregates(OdDAIObjectIds &Aggregates) const
const OdAnsiString & getName() const
void setDescription(const OdAnsiString &Description)
void getInvIsRelatedWith(OdDAIObjectIds &IsRelatedWith) const
void getInvIsAggregatedIn(OdDAIObjectIds &IsAggregatedIn) const
void getInvPropertiesForConstraint(OdDAIObjectIds &PropertiesForConstraint) const
void getInvRelatesConstraints(OdDAIObjectIds &RelatesConstraints) const
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override
virtual bool comparedToEarlyImpl(const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const override
void setConstraintGrade(IfcConstraintEnum ConstraintGrade)
OdSmartPtr< IfcConstraint > IfcConstraintPtr
Ordering
Definition RxObject.h:295