CFx SDK Documentation  2020SP3
Ifc4/IfcObjectAutoImpl.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 _IFCOBJECT_AUTO_IMPL_4_H
27 #define _IFCOBJECT_AUTO_IMPL_4_H
28 
30 
35 namespace OdIfc4 {
36 
38 {
39  //DOM-IGNORE-BEGIN
41  //DOM-IGNORE-END
42 
43 public:
44 
45 
46  //
47  // OdDAI early binding accessors
48  //
49  OdAnsiString getObjectType() const;
50  void setObjectType(OdAnsiString ObjectType);
51  void getInvIsDeclaredByAggr(OdDAIObjectIds &aggregate) const;
52  void getInvDeclaresAggr(OdDAIObjectIds &aggregate) const;
53  void getInvIsTypedByAggr(OdDAIObjectIds &aggregate) const;
54  void getInvIsDefinedByAggr(OdDAIObjectIds &aggregate) const;
55 
57  virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
58  virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
59  virtual bool isKindOf(OdIfcEntityType entityType) const;
60  virtual bool isInstanceOf(OdIfcEntityType entityType) const;
61  virtual OdDAI::Entity* getInstanceType() const;
62  virtual OdIfcEntityType type() const;
63  virtual OdAnsiString typeName() const;
64  virtual OdRxValue getAttr(const OdAnsiString &attrName) const;
65  virtual void unsetAttr(const OdAnsiString &explicitAttrName);
66  virtual bool testAttr(const OdAnsiString &explicitAttrName) const;
67  virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val);
68  virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const;
69  virtual void unsetAttr(const OdIfcAttribute explicitAttrDef);
70  virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const;
71  virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val);
72 
73 protected:
74  // Fields declaration:
75  OdAnsiString m_ObjectType; // optional
76  OdDAIObjectIds m_IsDeclaredBy_inv; // IfcRelDefinesByObject
77  OdDAIObjectIds m_Declares_inv; // IfcRelDefinesByObject
78  OdDAIObjectIds m_IsTypedBy_inv; // IfcRelDefinesByType
79  OdDAIObjectIds m_IsDefinedBy_inv; // IfcRelDefinesByProperties
80 
81  // Declare friend classes for inverse attributes functionality:
83  friend class OdIfcRelDefinesByObjectAuto;
86 };
87 
88 } // namespace
89 
90 #endif // _IFCOBJECT_AUTO_IMPL_4_H
OdResult
OdResult
Definition: OdResult.h:29
OdIfc4::OdIfcObjectAuto::getInvDeclaresAggr
void getInvDeclaresAggr(OdDAIObjectIds &aggregate) const
OdIfc::OdIfcAttribute
OdIfcAttribute
Definition: IfcAttributesEnum.h:34
OdIfc4::OdIfcObjectAuto::getInstanceType
virtual OdDAI::Entity * getInstanceType() const
OdIfc4::OdIfcObjectAuto::getAttr
virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const
OdIfc4::OdIfcObjectAuto::OdIfcObjectAuto
OdIfcObjectAuto()
OdIfc4::OdIfcRelDefinesByPropertiesAuto
Definition: Ifc4/IfcRelDefinesByPropertiesAutoImpl.h:38
OdIfc4::OdIfcObjectAuto::isKindOf
virtual bool isKindOf(OdIfcEntityType entityType) const
IfcObjectDefinitionAutoImpl.h
OdIfc4::OdIfcObjectAuto
Definition: Ifc4/IfcObjectAutoImpl.h:38
OdArray< OdDAIObjectId >
OdIfc4::OdIfcObjectAuto::type
virtual OdIfcEntityType type() const
OdIfc4::OdIfcObjectAuto::unsetAttr
virtual void unsetAttr(const OdAnsiString &explicitAttrName)
OdIfc4
Definition: Ifc4CollectionTypes.h:33
OdIfc4::OdIfcObjectAuto::putAttr
virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val)
OdIfc4::OdIfcObjectAuto::outFields
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
OdRxValue
Definition: RxValue.h:64
OdIfc4::OdIfcObjectAuto::getAttr
virtual OdRxValue getAttr(const OdAnsiString &attrName) const
OdIfc4::OdIfcObjectAuto::typeName
virtual OdAnsiString typeName() const
OdIfc4::OdIfcObjectAuto::m_ObjectType
OdAnsiString m_ObjectType
Definition: Ifc4/IfcObjectAutoImpl.h:75
OdIfc4::OdIfcObjectAuto::testAttr
virtual bool testAttr(const OdAnsiString &explicitAttrName) const
OdIfc4::OdIfcObjectAuto::getObjectType
OdAnsiString getObjectType() const
OdIfc4::OdIfcObjectAuto::getInvIsTypedByAggr
void getInvIsTypedByAggr(OdDAIObjectIds &aggregate) const
OdIfc4::OdIfcObjectAuto::m_IsTypedBy_inv
OdDAIObjectIds m_IsTypedBy_inv
Definition: Ifc4/IfcObjectAutoImpl.h:78
OdIfc4::OdIfcObjectAuto::getInvIsDefinedByAggr
void getInvIsDefinedByAggr(OdDAIObjectIds &aggregate) const
OD_EXP_DECLARE_MEMBERS
#define OD_EXP_DECLARE_MEMBERS(ClassName)
Definition: daiRTTI.h:95
OdIfc4::OdIfcEntityType
OdIfcEntityType
Definition: Ifc4EntityTypes.h:34
OdIfc4::OdIfcObjectAuto::m_Declares_inv
OdDAIObjectIds m_Declares_inv
Definition: Ifc4/IfcObjectAutoImpl.h:77
OdIfc4::OdIfcObjectAuto::m_IsDeclaredBy_inv
OdDAIObjectIds m_IsDeclaredBy_inv
Definition: Ifc4/IfcObjectAutoImpl.h:76
OdIfc4::OdIfcObjectAuto::getInvIsDeclaredByAggr
void getInvIsDeclaredByAggr(OdDAIObjectIds &aggregate) const
OdIfc4::OdIfcObjectAuto::inFields
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
OdIfc4::OdIfcObjectAuto::setObjectType
void setObjectType(OdAnsiString ObjectType)
OdIfc4::OdIfcObjectDefinitionAuto
Definition: Ifc4/IfcObjectDefinitionAutoImpl.h:38
OdIfc4::OdIfcObjectAuto::m_IsDefinedBy_inv
OdDAIObjectIds m_IsDefinedBy_inv
Definition: Ifc4/IfcObjectAutoImpl.h:79
OdIfc4::OdIfcObjectAuto::putAttr
virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val)
OdIfc4::OdIfcObjectAuto::unsetAttr
virtual void unsetAttr(const OdIfcAttribute explicitAttrDef)
OdIfc4::OdIfcRelDefinesByTypeAuto
Definition: Ifc4/IfcRelDefinesByTypeAutoImpl.h:38
OdIfc4::OdIfcObjectAuto::isInstanceOf
virtual bool isInstanceOf(OdIfcEntityType entityType) const
IFC4_EXPORT
#define IFC4_EXPORT
Definition: IfcBuildOptions.h:44
OdIfc4::OdIfcObjectAuto::testAttr
virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const
OdIfc4::OdIfcRelDefinesByObjectAuto
Definition: IfcRelDefinesByObjectAutoImpl.h:38