CFx SDK Documentation  2020SP3
IfcSimplePropertyTemplateAutoImpl.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 _IFCSIMPLEPROPERTYTEMPLATE_AUTO_IMPL_4_H
27 #define _IFCSIMPLEPROPERTYTEMPLATE_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  //
51  OdAnsiString getPrimaryMeasureType() const;
52  void setPrimaryMeasureType(OdAnsiString PrimaryMeasureType);
53  OdAnsiString getSecondaryMeasureType() const;
54  void setSecondaryMeasureType(OdAnsiString SecondaryMeasureType);
56  void setEnumerators(OdDAIObjectId Enumerators);
58  void setPrimaryUnit(IfcUnit PrimaryUnit);
60  void setSecondaryUnit(IfcUnit SecondaryUnit);
61  OdAnsiString getExpression() const;
62  void setExpression(OdAnsiString Expression);
64  void setAccessState(IfcStateEnum AccessState);
65 
67  virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
68  virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
69  virtual bool isKindOf(OdIfcEntityType entityType) const;
70  virtual bool isInstanceOf(OdIfcEntityType entityType) const;
71  virtual OdDAI::Entity* getInstanceType() const;
72  virtual OdIfcEntityType type() const;
73  virtual OdAnsiString typeName() const;
74  virtual OdRxValue getAttr(const OdAnsiString &attrName) const;
75  virtual void unsetAttr(const OdAnsiString &explicitAttrName);
76  virtual bool testAttr(const OdAnsiString &explicitAttrName) const;
77  virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val);
78  virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const;
79  virtual void unsetAttr(const OdIfcAttribute explicitAttrDef);
80  virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const;
81  virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val);
82 
83 protected:
84  // Fields declaration:
86  OdAnsiString m_PrimaryMeasureType; // optional
87  OdAnsiString m_SecondaryMeasureType; // optional
88  OdDAIObjectId m_Enumerators; // IfcPropertyEnumeration // optional
89  IfcUnit m_PrimaryUnit; // optional
90  IfcUnit m_SecondaryUnit; // optional
91  OdAnsiString m_Expression; // optional
93 };
94 
95 } // namespace
96 
97 #endif // _IFCSIMPLEPROPERTYTEMPLATE_AUTO_IMPL_4_H
OdResult
OdResult
Definition: OdResult.h:29
OdIfc4::OdIfcSimplePropertyTemplateAuto::getExpression
OdAnsiString getExpression() const
OdIfc::OdIfcAttribute
OdIfcAttribute
Definition: IfcAttributesEnum.h:34
OdIfc4::OdIfcSimplePropertyTemplateAuto::m_PrimaryMeasureType
OdAnsiString m_PrimaryMeasureType
Definition: IfcSimplePropertyTemplateAutoImpl.h:86
OdIfc4::OdIfcSimplePropertyTemplateAuto::inFields
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
OdIfc4::OdIfcSimplePropertyTemplateAuto::m_Expression
OdAnsiString m_Expression
Definition: IfcSimplePropertyTemplateAutoImpl.h:91
OdIfc4::OdIfcSimplePropertyTemplateAuto::getAccessState
IfcStateEnum getAccessState() const
OdDAIObjectId
Definition: daiObjectId.h:67
OdIfc4::OdIfcSimplePropertyTemplateAuto::getPrimaryMeasureType
OdAnsiString getPrimaryMeasureType() const
OdIfc4::OdIfcSimplePropertyTemplateAuto::getPrimaryUnit
IfcUnit getPrimaryUnit() const
OdIfc4::OdIfcSimplePropertyTemplateAuto::getSecondaryMeasureType
OdAnsiString getSecondaryMeasureType() const
OdIfc4::OdIfcSimplePropertyTemplateAuto::getSecondaryUnit
IfcUnit getSecondaryUnit() const
OdIfc4::OdIfcSimplePropertyTemplateAuto::getAttr
virtual OdRxValue getAttr(const OdAnsiString &attrName) const
OdIfc4::OdIfcSimplePropertyTemplateAuto::setSecondaryMeasureType
void setSecondaryMeasureType(OdAnsiString SecondaryMeasureType)
IfcPropertyTemplateAutoImpl.h
OdIfc4::OdIfcSimplePropertyTemplateAuto::isKindOf
virtual bool isKindOf(OdIfcEntityType entityType) const
OdIfc4::OdIfcSimplePropertyTemplateAuto::testAttr
virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const
OdIfc4::OdIfcSimplePropertyTemplateAuto::typeName
virtual OdAnsiString typeName() const
OdIfc4
Definition: Ifc4CollectionTypes.h:33
OdIfc4::OdIfcSimplePropertyTemplateAuto::setSecondaryUnit
void setSecondaryUnit(IfcUnit SecondaryUnit)
OdIfc4::IfcStateEnum
Definition: Ifc4Enum.h:5240
OdRxValue
Definition: RxValue.h:64
OdIfc4::OdIfcSimplePropertyTemplateAuto::unsetAttr
virtual void unsetAttr(const OdAnsiString &explicitAttrName)
OdIfc4::IfcSimplePropertyTemplateTypeEnum
Definition: Ifc4Enum.h:4969
OdIfc4::OdIfcPropertyTemplateAuto
Definition: IfcPropertyTemplateAutoImpl.h:38
OdIfc4::OdIfcSimplePropertyTemplateAuto::m_SecondaryMeasureType
OdAnsiString m_SecondaryMeasureType
Definition: IfcSimplePropertyTemplateAutoImpl.h:87
OdIfc4::OdIfcSimplePropertyTemplateAuto::setPrimaryMeasureType
void setPrimaryMeasureType(OdAnsiString PrimaryMeasureType)
OD_EXP_DECLARE_MEMBERS
#define OD_EXP_DECLARE_MEMBERS(ClassName)
Definition: daiRTTI.h:95
OdIfc4::OdIfcEntityType
OdIfcEntityType
Definition: Ifc4EntityTypes.h:34
OdIfc4::OdIfcSimplePropertyTemplateAuto::unsetAttr
virtual void unsetAttr(const OdIfcAttribute explicitAttrDef)
OdIfc4::OdIfcSimplePropertyTemplateAuto
Definition: IfcSimplePropertyTemplateAutoImpl.h:38
OdIfc4::OdIfcSimplePropertyTemplateAuto::getEnumerators
OdDAIObjectId getEnumerators() const
OdIfc4::OdIfcSimplePropertyTemplateAuto::getInstanceType
virtual OdDAI::Entity * getInstanceType() const
OdIfc4::OdIfcSimplePropertyTemplateAuto::setTemplateType
void setTemplateType(IfcSimplePropertyTemplateTypeEnum TemplateType)
OdIfc4::IfcUnit
Definition: Ifc4SelectTypes.h:2309
OdIfc4::OdIfcSimplePropertyTemplateAuto::m_Enumerators
OdDAIObjectId m_Enumerators
Definition: IfcSimplePropertyTemplateAutoImpl.h:88
OdIfc4::OdIfcSimplePropertyTemplateAuto::testAttr
virtual bool testAttr(const OdAnsiString &explicitAttrName) const
OdIfc4::OdIfcSimplePropertyTemplateAuto::m_PrimaryUnit
IfcUnit m_PrimaryUnit
Definition: IfcSimplePropertyTemplateAutoImpl.h:89
OdIfc4::OdIfcSimplePropertyTemplateAuto::type
virtual OdIfcEntityType type() const
OdIfc4::OdIfcSimplePropertyTemplateAuto::getTemplateType
IfcSimplePropertyTemplateTypeEnum getTemplateType() const
OdIfc4::OdIfcSimplePropertyTemplateAuto::setExpression
void setExpression(OdAnsiString Expression)
OdIfc4::OdIfcSimplePropertyTemplateAuto::m_TemplateType
IfcSimplePropertyTemplateTypeEnum m_TemplateType
Definition: IfcSimplePropertyTemplateAutoImpl.h:85
OdIfc4::OdIfcSimplePropertyTemplateAuto::outFields
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
OdIfc4::OdIfcSimplePropertyTemplateAuto::setPrimaryUnit
void setPrimaryUnit(IfcUnit PrimaryUnit)
OdIfc4::OdIfcSimplePropertyTemplateAuto::setEnumerators
void setEnumerators(OdDAIObjectId Enumerators)
OdIfc4::OdIfcSimplePropertyTemplateAuto::m_AccessState
IfcStateEnum m_AccessState
Definition: IfcSimplePropertyTemplateAutoImpl.h:92
OdIfc4::OdIfcSimplePropertyTemplateAuto::putAttr
virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val)
IFC4_EXPORT
#define IFC4_EXPORT
Definition: IfcBuildOptions.h:44
OdIfc4::OdIfcSimplePropertyTemplateAuto::getAttr
virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const
OdIfc4::OdIfcSimplePropertyTemplateAuto::setAccessState
void setAccessState(IfcStateEnum AccessState)
OdIfc4::OdIfcSimplePropertyTemplateAuto::putAttr
virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val)
OdIfc4::OdIfcSimplePropertyTemplateAuto::OdIfcSimplePropertyTemplateAuto
OdIfcSimplePropertyTemplateAuto()
OdIfc4::OdIfcSimplePropertyTemplateAuto::m_SecondaryUnit
IfcUnit m_SecondaryUnit
Definition: IfcSimplePropertyTemplateAutoImpl.h:90
OdIfc4::OdIfcSimplePropertyTemplateAuto::isInstanceOf
virtual bool isInstanceOf(OdIfcEntityType entityType) const