CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Ifc4x1/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 _IFC4X1_IFCCONSTRAINT_AUTO_IMPL_H
27#define _IFC4X1_IFCCONSTRAINT_AUTO_IMPL_H
28
29#include "IfcEntity.h"
30
31#include "Ifc4x1Enum.h"
32#include "Ifc4x1SelectTypes.h"
34#include "Ifc4x1BuildOption.h"
35
40namespace OdIfc4x1 {
41
43{
44 //DOM-IGNORE-BEGIN
45 OD_EXP_NON_INSTANTIABLE_DECLARE_MEMBERS(OdIfc4x1::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
110 virtual void unsetAttr(const char * explicitAttrName);
111
118 virtual bool testAttr(const char * explicitAttrName) const;
119
127 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val);
128
135 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const;
136
143
150 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const;
151
156 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef);
157
164 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const;
165
173 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val);
174
175protected:
176 // Fields declaration:
177 OdAnsiString m_Name; // IfcLabel
178 OdAnsiString m_Description; // IfcText [optional]
179 OdDAI::Enum m_ConstraintGrade; // IfcConstraintEnum
180 OdAnsiString m_ConstraintSource; // IfcLabel [optional]
181 OdDAI::Select m_CreatingActor; // IfcActorSelect [optional]
182 OdAnsiString m_CreationTime; // IfcDateTime [optional]
183 OdAnsiString m_UserDefinedGrade; // IfcLabel [optional]
184
185 // Declare friend classes for inverse attributes functionality:
188};
189
194
195} // namespace
196
197#endif // _IFC4X1_IFCCONSTRAINT_AUTO_IMPL_H
#define IFC4X1_EXPORT
OdResult
Definition: OdResult.h:29
const OdAnsiString & getName() const
virtual bool testAttr(const char *explicitAttrName) const
const OdAnsiString & getDescription() const
const OdAnsiString & getConstraintSource() const
IfcActorSelect creatingActor()
IfcConstraintEnum getConstraintGrade() const
void setName(const OdAnsiString &Name)
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val)
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const
const OdAnsiString & getUserDefinedGrade() const
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
virtual OdRxValue getAttr(const char *attrName) const
virtual void unsetAttr(const char *explicitAttrName)
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const
void setConstraintSource(const OdAnsiString &ConstraintSource)
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
virtual OdIfc::OdIfcEntityType type() const
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef)
void setConstraintGrade(IfcConstraintEnum ConstraintGrade)
void getInvHasExternalReferences(OdDAIObjectIds &HasExternalReferences) const
const OdAnsiString & getCreationTime() const
virtual OdDAI::Entity * getInstanceType() const
void setCreationTime(const OdAnsiString &CreationTime)
void getInvPropertiesForConstraint(OdDAIObjectIds &PropertiesForConstraint) const
void setUserDefinedGrade(const OdAnsiString &UserDefinedGrade)
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const
void setDescription(const OdAnsiString &Description)
OdSmartPtr< IfcConstraint > IfcConstraintPtr