CFx SDK Documentation  2020SP3
Ifc2x3/IfcConstraintAutoImpl.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2019, 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-2019 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 _IFCCONSTRAINT_AUTO_IMPL_2x3_H
27 #define _IFCCONSTRAINT_AUTO_IMPL_2x3_H
28 
29 #include "IfcPubCommon.h"
30 #include "Ifc2x3Enum.h"
31 #include "Ifc2x3SelectTypes.h"
32 #include "IfcCollectionTypes.h"
33 
38 namespace OdIfc2x3 {
39 
41 {
42  //DOM-IGNORE-BEGIN
44  //DOM-IGNORE-END
45 
46 public:
47 
48 
49  //
50  // OdDAI early binding accessors
51  //
52  OdAnsiString getName() const;
53  void setName(OdAnsiString Name);
54  OdAnsiString getDescription() const;
55  void setDescription(OdAnsiString Description);
57  void setConstraintGrade(IfcConstraintEnum ConstraintGrade);
58  OdAnsiString getConstraintSource() const;
59  void setConstraintSource(OdAnsiString ConstraintSource);
61  void setCreatingActor(IfcActorSelect CreatingActor);
63  void setCreationTime(IfcDateTimeSelect CreationTime);
64  OdAnsiString getUserDefinedGrade() const;
65  void setUserDefinedGrade(OdAnsiString UserDefinedGrade);
66  void getInvClassifiedAsAggr(OdDAIObjectIds &aggregate) const;
68  void getInvIsRelatedWithAggr(OdDAIObjectIds &aggregate) const;
70  void getInvAggregatesAggr(OdDAIObjectIds &aggregate) const;
71  void getInvIsAggregatedInAggr(OdDAIObjectIds &aggregate) const;
72 
74  virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
75  virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
76  virtual bool isKindOf(OdIfcEntityType entityType) const;
77  virtual bool isInstanceOf(OdIfcEntityType entityType) const;
78  virtual OdDAI::Entity* getInstanceType() const;
79  virtual OdIfcEntityType type() const;
80  virtual OdAnsiString typeName() const;
81  virtual OdRxValue getAttr(const OdAnsiString &attrName) const;
82  virtual void unsetAttr(const OdAnsiString &explicitAttrName);
83  virtual bool testAttr(const OdAnsiString &explicitAttrName) const;
84  virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val);
85  virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const;
86  virtual void unsetAttr(const OdIfcAttribute explicitAttrDef);
87  virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const;
88  virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val);
89 
90 protected:
91  // Fields declaration:
92  OdAnsiString m_Name;
93  OdAnsiString m_Description; // optional
95  OdAnsiString m_ConstraintSource; // optional
98  OdAnsiString m_UserDefinedGrade; // optional
99  OdDAIObjectIds m_ClassifiedAs_inv; // IfcConstraintClassificationRelationship
100  OdDAIObjectIds m_RelatesConstraints_inv; // IfcConstraintRelationship
101  OdDAIObjectIds m_IsRelatedWith_inv; // IfcConstraintRelationship
102  OdDAIObjectIds m_PropertiesForConstraint_inv; // IfcPropertyConstraintRelationship
103  OdDAIObjectIds m_Aggregates_inv; // IfcConstraintAggregationRelationship
104  OdDAIObjectIds m_IsAggregatedIn_inv; // IfcConstraintAggregationRelationship
105 
106  // Declare friend classes for inverse attributes functionality:
109  friend class OdIfcConstraintRelationshipAuto;
113 };
114 
115 } // namespace
116 
117 #endif // _IFCCONSTRAINT_AUTO_IMPL_2x3_H
OdIfc2x3::OdIfcPropertyConstraintRelationshipAuto
Definition: IfcPropertyConstraintRelationshipAutoImpl.h:41
OdIfc2x3::OdIfcConstraintAuto::m_ConstraintGrade
IfcConstraintEnum m_ConstraintGrade
Definition: Ifc2x3/IfcConstraintAutoImpl.h:94
OdResult
OdResult
Definition: OdResult.h:29
OdIfc2x3::OdIfcConstraintAuto::testAttr
virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const
OdIfc2x3::OdIfcConstraintAuto::m_CreatingActor
IfcActorSelect m_CreatingActor
Definition: Ifc2x3/IfcConstraintAutoImpl.h:96
IFC2X3_EXPORT
#define IFC2X3_EXPORT
Definition: IfcBuildOptions.h:36
OdIfc::OdIfcAttribute
OdIfcAttribute
Definition: IfcAttributesEnum.h:34
OdIfc2x3::OdIfcConstraintAuto::getName
OdAnsiString getName() const
OdIfc2x3::OdIfcConstraintAuto::getConstraintSource
OdAnsiString getConstraintSource() const
OdIfc2x3::OdIfcConstraintAuto::isKindOf
virtual bool isKindOf(OdIfcEntityType entityType) const
OdIfc2x3::OdIfcConstraintAuto::putAttr
virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val)
OdIfc2x3::OdIfcConstraintAuto::setUserDefinedGrade
void setUserDefinedGrade(OdAnsiString UserDefinedGrade)
OdIfc2x3::OdIfcConstraintAuto::getCreationTime
IfcDateTimeSelect getCreationTime() const
IfcPubCommon.h
OdIfc2x3::OdIfcConstraintAuto::setConstraintSource
void setConstraintSource(OdAnsiString ConstraintSource)
OdIfc2x3::OdIfcConstraintAuto::m_ClassifiedAs_inv
OdDAIObjectIds m_ClassifiedAs_inv
Definition: Ifc2x3/IfcConstraintAutoImpl.h:99
OdIfc2x3::OdIfcConstraintAuto::getAttr
virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const
OdIfc2x3::OdIfcConstraintAuto::type
virtual OdIfcEntityType type() const
OdIfc2x3::IfcConstraintEnum
Definition: Ifc2x3Enum.h:905
OdIfc2x3::OdIfcConstraintAuto::setConstraintGrade
void setConstraintGrade(IfcConstraintEnum ConstraintGrade)
OdIfc2x3::OdIfcConstraintAuto::putAttr
virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val)
OdIfc2x3::OdIfcConstraintAuto::getInvIsAggregatedInAggr
void getInvIsAggregatedInAggr(OdDAIObjectIds &aggregate) const
OdIfc2x3::OdIfcConstraintAuto::getInvAggregatesAggr
void getInvAggregatesAggr(OdDAIObjectIds &aggregate) const
OdArray< OdDAIObjectId >
Ifc2x3SelectTypes.h
OdIfc2x3::OdIfcConstraintAuto::getUserDefinedGrade
OdAnsiString getUserDefinedGrade() const
IfcCollectionTypes.h
OdIfc2x3::OdIfcConstraintAuto::OdIfcConstraintAuto
OdIfcConstraintAuto()
OdIfc2x3
Definition: Ifc2DCompositeCurveAutoImpl.h:35
OdIfc2x3::OdIfcConstraintAuto::m_IsRelatedWith_inv
OdDAIObjectIds m_IsRelatedWith_inv
Definition: Ifc2x3/IfcConstraintAutoImpl.h:101
OdRxValue
Definition: RxValue.h:64
OdIfc2x3::OdIfcConstraintAuto::m_ConstraintSource
OdAnsiString m_ConstraintSource
Definition: Ifc2x3/IfcConstraintAutoImpl.h:95
OdIfc2x3::OdIfcConstraintAuto::unsetAttr
virtual void unsetAttr(const OdAnsiString &explicitAttrName)
OdIfc2x3::OdIfcConstraintAuto::getInvPropertiesForConstraintAggr
void getInvPropertiesForConstraintAggr(OdDAIObjectIds &aggregate) const
OdIfc2x3::OdIfcConstraintAuto::setDescription
void setDescription(OdAnsiString Description)
OdIfc2x3::OdIfcConstraintAuto::inFields
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
OdIfc2x3::OdIfcConstraintAuto::m_PropertiesForConstraint_inv
OdDAIObjectIds m_PropertiesForConstraint_inv
Definition: Ifc2x3/IfcConstraintAutoImpl.h:102
Ifc2x3Enum.h
OdIfc2x3::OdIfcConstraintAuto::setCreationTime
void setCreationTime(IfcDateTimeSelect CreationTime)
OD_EXP_DECLARE_MEMBERS
#define OD_EXP_DECLARE_MEMBERS(ClassName)
Definition: daiRTTI.h:95
OdIfc2x3::OdIfcEntityType
OdIfcEntityType
Definition: Ifc2x3EntityTypes.h:34
OdIfc2x3::OdIfcConstraintAggregationRelationshipAuto
Definition: IfcConstraintAggregationRelationshipAutoImpl.h:41
OdIfc2x3::OdIfcConstraintAuto::getInvClassifiedAsAggr
void getInvClassifiedAsAggr(OdDAIObjectIds &aggregate) const
OdIfc2x3::OdIfcConstraintAuto
Definition: Ifc2x3/IfcConstraintAutoImpl.h:41
OdIfc::OdIfcEntity
Definition: IfcEntity.h:84
OdIfc2x3::IfcDateTimeSelect
Definition: Ifc2x3SelectTypes.h:404
OdIfc2x3::OdIfcConstraintRelationshipAuto
Definition: IfcConstraintRelationshipAutoImpl.h:41
OdIfc2x3::OdIfcConstraintAuto::testAttr
virtual bool testAttr(const OdAnsiString &explicitAttrName) const
OdIfc2x3::OdIfcConstraintAuto::outFields
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
OdIfc2x3::OdIfcConstraintAuto::getDescription
OdAnsiString getDescription() const
OdIfc2x3::OdIfcConstraintAuto::typeName
virtual OdAnsiString typeName() const
OdIfc2x3::OdIfcConstraintAuto::setName
void setName(OdAnsiString Name)
OdIfc2x3::OdIfcConstraintAuto::isInstanceOf
virtual bool isInstanceOf(OdIfcEntityType entityType) const
OdIfc2x3::OdIfcConstraintAuto::m_Description
OdAnsiString m_Description
Definition: Ifc2x3/IfcConstraintAutoImpl.h:93
OdIfc2x3::OdIfcConstraintAuto::m_Aggregates_inv
OdDAIObjectIds m_Aggregates_inv
Definition: Ifc2x3/IfcConstraintAutoImpl.h:103
OdIfc2x3::OdIfcConstraintAuto::getCreatingActor
IfcActorSelect getCreatingActor() const
OdIfc2x3::OdIfcConstraintAuto::getInvRelatesConstraintsAggr
void getInvRelatesConstraintsAggr(OdDAIObjectIds &aggregate) const
OdIfc2x3::OdIfcConstraintAuto::getInstanceType
virtual OdDAI::Entity * getInstanceType() const
OdIfc2x3::OdIfcConstraintAuto::getConstraintGrade
IfcConstraintEnum getConstraintGrade() const
OdIfc2x3::OdIfcConstraintAuto::m_Name
OdAnsiString m_Name
Definition: Ifc2x3/IfcConstraintAutoImpl.h:92
OdIfc2x3::OdIfcConstraintAuto::getInvIsRelatedWithAggr
void getInvIsRelatedWithAggr(OdDAIObjectIds &aggregate) const
OdIfc2x3::OdIfcConstraintAuto::m_CreationTime
IfcDateTimeSelect m_CreationTime
Definition: Ifc2x3/IfcConstraintAutoImpl.h:97
OdIfc2x3::OdIfcConstraintAuto::setCreatingActor
void setCreatingActor(IfcActorSelect CreatingActor)
OdIfc2x3::OdIfcConstraintAuto::m_IsAggregatedIn_inv
OdDAIObjectIds m_IsAggregatedIn_inv
Definition: Ifc2x3/IfcConstraintAutoImpl.h:104
OdIfc2x3::OdIfcConstraintAuto::m_UserDefinedGrade
OdAnsiString m_UserDefinedGrade
Definition: Ifc2x3/IfcConstraintAutoImpl.h:98
OdIfc2x3::OdIfcConstraintAuto::unsetAttr
virtual void unsetAttr(const OdIfcAttribute explicitAttrDef)
OdIfc2x3::OdIfcConstraintClassificationRelationshipAuto
Definition: IfcConstraintClassificationRelationshipAutoImpl.h:41
OdIfc2x3::OdIfcConstraintAuto::getAttr
virtual OdRxValue getAttr(const OdAnsiString &attrName) const
OdIfc2x3::IfcActorSelect
Definition: Ifc2x3SelectTypes.h:40
OdIfc2x3::OdIfcConstraintAuto::m_RelatesConstraints_inv
OdDAIObjectIds m_RelatesConstraints_inv
Definition: Ifc2x3/IfcConstraintAutoImpl.h:100