CFx SDK Documentation  2020SP3
Ifc4x2/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_4x2_H
27 #define _IFCCONSTRAINT_AUTO_IMPL_4x2_H
28 
29 #include "IfcPubCommon.h"
30 #include "Ifc4x2Enum.h"
31 #include "Ifc4x2SelectTypes.h"
32 #include "IfcCollectionTypes.h"
33 
38 namespace OdIfc4x2 {
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);
62  OdAnsiString getCreationTime() const;
63  void setCreationTime(OdAnsiString CreationTime);
64  OdAnsiString getUserDefinedGrade() const;
65  void setUserDefinedGrade(OdAnsiString UserDefinedGrade);
68 
70  virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
71  virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
72  virtual bool isKindOf(OdIfcEntityType entityType) const;
73  virtual bool isInstanceOf(OdIfcEntityType entityType) const;
74  virtual OdDAI::Entity* getInstanceType() const;
75  virtual OdIfcEntityType type() const;
76  virtual OdAnsiString typeName() const;
77  virtual OdRxValue getAttr(const OdAnsiString &attrName) const;
78  virtual void unsetAttr(const OdAnsiString &explicitAttrName);
79  virtual bool testAttr(const OdAnsiString &explicitAttrName) const;
80  virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val);
81  virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const;
82  virtual void unsetAttr(const OdIfcAttribute explicitAttrDef);
83  virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const;
84  virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val);
85 
86 protected:
87  // Fields declaration:
88  OdAnsiString m_Name;
89  OdAnsiString m_Description; // optional
91  OdAnsiString m_ConstraintSource; // optional
93  OdAnsiString m_CreationTime; // optional
94  OdAnsiString m_UserDefinedGrade; // optional
95  OdDAIObjectIds m_HasExternalReferences_inv; // IfcExternalReferenceRelationship
96  OdDAIObjectIds m_PropertiesForConstraint_inv; // IfcResourceConstraintRelationship
97 
98  // Declare friend classes for inverse attributes functionality:
101 };
102 
103 } // namespace
104 
105 #endif // _IFCCONSTRAINT_AUTO_IMPL_4x2_H
OdResult
OdResult
Definition: OdResult.h:29
OdIfc4x2::OdIfcConstraintAuto::m_ConstraintGrade
IfcConstraintEnum m_ConstraintGrade
Definition: Ifc4x2/IfcConstraintAutoImpl.h:90
OdIfc4x2::OdIfcConstraintAuto::m_ConstraintSource
OdAnsiString m_ConstraintSource
Definition: Ifc4x2/IfcConstraintAutoImpl.h:91
OdIfc::OdIfcAttribute
OdIfcAttribute
Definition: IfcAttributesEnum.h:34
Ifc4x2SelectTypes.h
OdIfc4x2::OdIfcConstraintAuto::getInstanceType
virtual OdDAI::Entity * getInstanceType() const
OdIfc4x2
Definition: Ifc4x2CollectionTypes.h:33
IfcPubCommon.h
OdIfc4x2::OdIfcConstraintAuto::isInstanceOf
virtual bool isInstanceOf(OdIfcEntityType entityType) const
OdIfc4x2::OdIfcConstraintAuto::type
virtual OdIfcEntityType type() const
OdIfc4x2::OdIfcConstraintAuto
Definition: Ifc4x2/IfcConstraintAutoImpl.h:41
OdIfc4x2::OdIfcConstraintAuto::m_Description
OdAnsiString m_Description
Definition: Ifc4x2/IfcConstraintAutoImpl.h:89
OdIfc4x2::OdIfcConstraintAuto::setCreatingActor
void setCreatingActor(IfcActorSelect CreatingActor)
IFC4X2_EXPORT
#define IFC4X2_EXPORT
Definition: IfcBuildOptions.h:52
OdIfc4x2::OdIfcConstraintAuto::getConstraintSource
OdAnsiString getConstraintSource() const
OdIfc4x2::IfcConstraintEnum
Definition: Ifc4x2Enum.h:1385
OdArray< OdDAIObjectId >
IfcCollectionTypes.h
OdRxValue
Definition: RxValue.h:64
OdIfc4x2::OdIfcConstraintAuto::outFields
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
OdIfc4x2::OdIfcConstraintAuto::unsetAttr
virtual void unsetAttr(const OdAnsiString &explicitAttrName)
OdIfc4x2::OdIfcConstraintAuto::m_Name
OdAnsiString m_Name
Definition: Ifc4x2/IfcConstraintAutoImpl.h:88
OdIfc4x2::OdIfcConstraintAuto::getConstraintGrade
IfcConstraintEnum getConstraintGrade() const
OdIfc4x2::OdIfcConstraintAuto::OdIfcConstraintAuto
OdIfcConstraintAuto()
OdIfc4x2::OdIfcConstraintAuto::putAttr
virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val)
OdIfc4x2::OdIfcConstraintAuto::m_CreationTime
OdAnsiString m_CreationTime
Definition: Ifc4x2/IfcConstraintAutoImpl.h:93
OdIfc4x2::OdIfcConstraintAuto::setName
void setName(OdAnsiString Name)
OD_EXP_DECLARE_MEMBERS
#define OD_EXP_DECLARE_MEMBERS(ClassName)
Definition: daiRTTI.h:95
OdIfc4x2::OdIfcConstraintAuto::setConstraintSource
void setConstraintSource(OdAnsiString ConstraintSource)
OdIfc4x2::OdIfcConstraintAuto::setConstraintGrade
void setConstraintGrade(IfcConstraintEnum ConstraintGrade)
OdIfc4x2::OdIfcConstraintAuto::isKindOf
virtual bool isKindOf(OdIfcEntityType entityType) const
OdIfc4x2::OdIfcConstraintAuto::m_CreatingActor
IfcActorSelect m_CreatingActor
Definition: Ifc4x2/IfcConstraintAutoImpl.h:92
OdIfc4x2::OdIfcConstraintAuto::typeName
virtual OdAnsiString typeName() const
OdIfc4x2::OdIfcConstraintAuto::m_HasExternalReferences_inv
OdDAIObjectIds m_HasExternalReferences_inv
Definition: Ifc4x2/IfcConstraintAutoImpl.h:95
OdIfc4x2::OdIfcConstraintAuto::setDescription
void setDescription(OdAnsiString Description)
OdIfc::OdIfcEntity
Definition: IfcEntity.h:84
OdIfc4x2::OdIfcExternalReferenceRelationshipAuto
Definition: 2/IfcExternalReferenceRelationshipAutoImpl.h:38
OdIfc4x2::OdIfcResourceConstraintRelationshipAuto
Definition: 2/IfcResourceConstraintRelationshipAutoImpl.h:38
OdIfc4x2::OdIfcConstraintAuto::m_PropertiesForConstraint_inv
OdDAIObjectIds m_PropertiesForConstraint_inv
Definition: Ifc4x2/IfcConstraintAutoImpl.h:96
OdIfc4x2::OdIfcConstraintAuto::getInvHasExternalReferencesAggr
void getInvHasExternalReferencesAggr(OdDAIObjectIds &aggregate) const
OdIfc4x2::OdIfcConstraintAuto::getCreatingActor
IfcActorSelect getCreatingActor() const
Ifc4x2Enum.h
OdIfc4x2::OdIfcConstraintAuto::getAttr
virtual OdRxValue getAttr(const OdAnsiString &attrName) const
OdIfc4x2::OdIfcConstraintAuto::getCreationTime
OdAnsiString getCreationTime() const
OdIfc4x2::IfcActorSelect
Definition: Ifc4x2SelectTypes.h:40
OdIfc4x2::OdIfcConstraintAuto::getUserDefinedGrade
OdAnsiString getUserDefinedGrade() const
OdIfc4x2::OdIfcConstraintAuto::m_UserDefinedGrade
OdAnsiString m_UserDefinedGrade
Definition: Ifc4x2/IfcConstraintAutoImpl.h:94
OdIfc4x2::OdIfcConstraintAuto::getInvPropertiesForConstraintAggr
void getInvPropertiesForConstraintAggr(OdDAIObjectIds &aggregate) const
OdIfc4x2::OdIfcConstraintAuto::getName
OdAnsiString getName() const
OdIfc4x2::OdIfcConstraintAuto::testAttr
virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const
OdIfc4x2::OdIfcEntityType
OdIfcEntityType
Definition: Ifc4x2EntityTypes.h:34
OdIfc4x2::OdIfcConstraintAuto::setCreationTime
void setCreationTime(OdAnsiString CreationTime)
OdIfc4x2::OdIfcConstraintAuto::getAttr
virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const
OdIfc4x2::OdIfcConstraintAuto::setUserDefinedGrade
void setUserDefinedGrade(OdAnsiString UserDefinedGrade)
OdIfc4x2::OdIfcConstraintAuto::inFields
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
OdIfc4x2::OdIfcConstraintAuto::getDescription
OdAnsiString getDescription() const
OdIfc4x2::OdIfcConstraintAuto::testAttr
virtual bool testAttr(const OdAnsiString &explicitAttrName) const
OdIfc4x2::OdIfcConstraintAuto::unsetAttr
virtual void unsetAttr(const OdIfcAttribute explicitAttrDef)
OdIfc4x2::OdIfcConstraintAuto::putAttr
virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val)