CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Ifc2x3/IfcConstraintAutoImpl.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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-2022 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 "IfcEntity.h"
30
31#include "Ifc2x3Enum.h"
32#include "Ifc2x3SelectTypes.h"
34#include "Ifc2x3BuildOption.h"
35
40namespace OdIfc2x3 {
41
43{
44 //DOM-IGNORE-BEGIN
45 OD_EXP_NON_INSTANTIABLE_DECLARE_MEMBERS(OdIfc2x3::IfcConstraint);
46 //DOM-IGNORE-END
47
48public:
49
50
51 //
52 // OdDAI early binding accessors
53 //
54
55 const OdAnsiString& getName() const;
56 void setName(const OdAnsiString& Name);
57 const OdAnsiString& getDescription() const;
58 void setDescription(const OdAnsiString& Description);
61 const OdAnsiString& getConstraintSource() const;
62 void setConstraintSource(const OdAnsiString& ConstraintSource);
65 const OdAnsiString& getUserDefinedGrade() const;
66 void setUserDefinedGrade(const OdAnsiString& UserDefinedGrade);
67 void getInvClassifiedAs(OdDAIObjectIds& ClassifiedAs) const;
68 void getInvRelatesConstraints(OdDAIObjectIds& RelatesConstraints) const;
69 void getInvIsRelatedWith(OdDAIObjectIds& IsRelatedWith) const;
70 void getInvPropertiesForConstraint(OdDAIObjectIds& PropertiesForConstraint) const;
71 void getInvAggregates(OdDAIObjectIds& Aggregates) const;
72 void getInvIsAggregatedIn(OdDAIObjectIds& IsAggregatedIn) const;
73
74
75public:
77
84 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
85
92 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
93
99 virtual OdDAI::Entity* getInstanceType() const;
100
107 virtual OdRxValue getAttr(const char * attrName) const;
108
126 virtual bool comparedToEarlyImpl(const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const;
127
132 virtual void unsetAttr(const char * explicitAttrName);
133
140 virtual bool testAttr(const char * explicitAttrName) const;
141
149 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val);
150
157 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const;
158
165
172 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const;
173
178 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef);
179
186 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const;
187
195 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val);
196
197protected:
198 // Fields declaration:
199 OdAnsiString m_Name; // IfcLabel
200 OdAnsiString m_Description; // IfcText [optional]
201 OdDAI::Enum m_ConstraintGrade; // IfcConstraintEnum
202 OdAnsiString m_ConstraintSource; // IfcLabel [optional]
203 OdDAI::Select m_CreatingActor; // IfcActorSelect [optional]
204 OdDAI::Select m_CreationTime; // IfcDateTimeSelect [optional]
205 OdAnsiString m_UserDefinedGrade; // IfcLabel [optional]
206
207 // Declare friend classes for inverse attributes functionality:
210 friend class IfcConstraintRelationship;
214};
215
220
221} // namespace
222
223#endif // _IFC2X3_IFCCONSTRAINT_AUTO_IMPL_H
#define IFC2X3_EXPORT
OdResult
Definition: OdResult.h:29
virtual OdDAI::Entity * getInstanceType() const
void setName(const OdAnsiString &Name)
IfcConstraintEnum getConstraintGrade() const
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val)
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
virtual void unsetAttr(const char *explicitAttrName)
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const
virtual bool testAttr(const char *explicitAttrName) const
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
IfcDateTimeSelect creationTime()
void setUserDefinedGrade(const OdAnsiString &UserDefinedGrade)
virtual OdIfc::OdIfcEntityType type() const
void setConstraintSource(const OdAnsiString &ConstraintSource)
virtual bool comparedToEarlyImpl(const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const
void getInvClassifiedAs(OdDAIObjectIds &ClassifiedAs) const
IfcActorSelect creatingActor()
virtual OdRxValue getAttr(const char *attrName) const
const OdAnsiString & getUserDefinedGrade() const
const OdAnsiString & getConstraintSource() const
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef)
const OdAnsiString & getDescription() const
void getInvAggregates(OdDAIObjectIds &Aggregates) const
const OdAnsiString & getName() const
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) 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
void setConstraintGrade(IfcConstraintEnum ConstraintGrade)
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
OdSmartPtr< IfcConstraint > IfcConstraintPtr
IfcConstraintEnum
Definition: Ifc2x3Enum.h:778
Ordering
Definition: RxObject.h:295