CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Ifc4/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 _IFC4_IFCCONSTRAINT_AUTO_IMPL_H
27#define _IFC4_IFCCONSTRAINT_AUTO_IMPL_H
28
29#include "IfcEntity.h"
30
31#include "Ifc4Enum.h"
32#include "Ifc4SelectTypes.h"
33#include "Ifc4CollectionTypes.h"
34#include "Ifc4BuildOption.h"
35
40namespace OdIfc4 {
41
43{
44 //DOM-IGNORE-BEGIN
45 OD_EXP_NON_INSTANTIABLE_DECLARE_MEMBERS(OdIfc4::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);
64 const OdAnsiString& getCreationTime() const;
65 void setCreationTime(const OdAnsiString& CreationTime);
66 const OdAnsiString& getUserDefinedGrade() const;
67 void setUserDefinedGrade(const OdAnsiString& UserDefinedGrade);
68 void getInvHasExternalReferences(OdDAIObjectIds& HasExternalReferences) const;
69 void getInvPropertiesForConstraint(OdDAIObjectIds& PropertiesForConstraint) const;
70
71
72public:
74
81 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
82
89 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
90
96 virtual OdDAI::Entity* getInstanceType() const;
97
104 virtual OdRxValue getAttr(const char * attrName) const;
105
123 virtual bool comparedToEarlyImpl(const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const;
124
129 virtual void unsetAttr(const char * explicitAttrName);
130
137 virtual bool testAttr(const char * explicitAttrName) const;
138
146 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val);
147
154 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const;
155
162
169 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const;
170
175 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef);
176
183 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const;
184
192 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val);
193
194protected:
195 // Fields declaration:
196 OdAnsiString m_Name; // IfcLabel
197 OdAnsiString m_Description; // IfcText [optional]
198 OdDAI::Enum m_ConstraintGrade; // IfcConstraintEnum
199 OdAnsiString m_ConstraintSource; // IfcLabel [optional]
200 OdDAI::Select m_CreatingActor; // IfcActorSelect [optional]
201 OdAnsiString m_CreationTime; // IfcDateTime [optional]
202 OdAnsiString m_UserDefinedGrade; // IfcLabel [optional]
203
204 // Declare friend classes for inverse attributes functionality:
207};
208
213
214} // namespace
215
216#endif // _IFC4_IFCCONSTRAINT_AUTO_IMPL_H
#define IFC4_EXPORT
OdResult
Definition: OdResult.h:29
void setConstraintGrade(IfcConstraintEnum ConstraintGrade)
const OdAnsiString & getDescription() const
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val)
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const
virtual OdDAI::Entity * getInstanceType() const
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef)
IfcActorSelect creatingActor()
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const
virtual bool testAttr(const char *explicitAttrName) const
const OdAnsiString & getCreationTime() const
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const
const OdAnsiString & getName() const
virtual OdIfc::OdIfcEntityType type() const
void setDescription(const OdAnsiString &Description)
IfcConstraintEnum getConstraintGrade() const
void getInvPropertiesForConstraint(OdDAIObjectIds &PropertiesForConstraint) const
void setConstraintSource(const OdAnsiString &ConstraintSource)
void setCreationTime(const OdAnsiString &CreationTime)
virtual void unsetAttr(const char *explicitAttrName)
void getInvHasExternalReferences(OdDAIObjectIds &HasExternalReferences) const
const OdAnsiString & getConstraintSource() const
virtual bool comparedToEarlyImpl(const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const
void setUserDefinedGrade(const OdAnsiString &UserDefinedGrade)
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
const OdAnsiString & getUserDefinedGrade() const
void setName(const OdAnsiString &Name)
virtual OdRxValue getAttr(const char *attrName) const
OdSmartPtr< IfcConstraint > IfcConstraintPtr
IfcConstraintEnum
Definition: Ifc4Enum.h:1029
Ordering
Definition: RxObject.h:295