CFx SDK Documentation  2023 SP0
IfcPropertyConstraintRelationshipAutoImpl.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 _IFCPROPERTYCONSTRAINTRELATIONSHIP_AUTO_IMPL_2x3_H
27 #define _IFCPROPERTYCONSTRAINTRELATIONSHIP_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  //
53  void setRelatingConstraint(OdDAIObjectId RelatingConstraint);
54  void getRelatedPropertiesAggr(OdDAIObjectIds &aggregate) const;
55  void setRelatedPropertiesAggr(const OdDAIObjectIds &aggregate);
56  OdAnsiString getName() const;
57  void setName(OdAnsiString Name);
58  OdAnsiString getDescription() const;
59  void setDescription(OdAnsiString Description);
60 
62  virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
63  virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
64  virtual void setInverseCounterParts();
65  virtual void resetInverseCounterParts();
66  virtual bool isKindOf(OdIfcEntityType entityType) const;
67  virtual bool isInstanceOf(OdIfcEntityType entityType) const;
68  virtual OdDAI::Entity* getInstanceType() const;
69  virtual OdIfcEntityType type() const;
70  virtual OdAnsiString typeName() const;
71  virtual OdRxValue getAttr(const OdAnsiString &attrName) const;
72  virtual void unsetAttr(const OdAnsiString &explicitAttrName);
73  virtual bool testAttr(const OdAnsiString &explicitAttrName) const;
74  virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val);
75  virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const;
76  virtual void unsetAttr(const OdIfcAttribute explicitAttrDef);
77  virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const;
78  virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val);
79 
80 protected:
81  // Fields declaration:
83  OdDAIObjectIds m_RelatedProperties; // SET [1:?] OF IfcProperty
84  OdAnsiString m_Name; // optional
85  OdAnsiString m_Description; // optional
86 };
87 
88 } // namespace
89 
90 #endif // _IFCPROPERTYCONSTRAINTRELATIONSHIP_AUTO_IMPL_2x3_H
#define IFC2X3_EXPORT
OdResult
Definition: OdResult.h:29
virtual bool testAttr(const OdAnsiString &explicitAttrName) const
virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const
virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const
virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val)
void getRelatedPropertiesAggr(OdDAIObjectIds &aggregate) const
void setRelatingConstraint(OdDAIObjectId RelatingConstraint)
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
virtual OdDAI::Entity * getInstanceType() const
virtual void unsetAttr(const OdIfcAttribute explicitAttrDef)
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
void setDescription(OdAnsiString Description)
virtual OdRxValue getAttr(const OdAnsiString &attrName) const
virtual void unsetAttr(const OdAnsiString &explicitAttrName)
virtual bool isKindOf(OdIfcEntityType entityType) const
virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val)
void setRelatedPropertiesAggr(const OdDAIObjectIds &aggregate)
virtual bool isInstanceOf(OdIfcEntityType entityType) const
#define OD_EXP_DECLARE_MEMBERS(ClassName)
Definition: daiRTTI.h:95