CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
IfcPresentationLightSourceAutoImpl.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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-2022 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 _IFC2X_FINAL_IFCPRESENTATIONLIGHTSOURCE_AUTO_IMPL_H
27#define _IFC2X_FINAL_IFCPRESENTATIONLIGHTSOURCE_AUTO_IMPL_H
28
29#include "IfcEntity.h"
30
31#include "Ifc2x_FinalEnum.h"
36
41namespace OdIfc2x_final {
42
44{
45 //DOM-IGNORE-BEGIN
46 OD_EXP_DECLARE_MEMBERS(OdIfc2x_final::IfcPresentationLightSource);
47 //DOM-IGNORE-END
48
49public:
50
51
52 //
53 // OdDAI early binding accessors
54 //
55
56 void getColor(OdArray<double >& Color) const;
57 OdDAI::DoubleList& color();
58 double getAmbientIntensity() const;
59 void setAmbientIntensity(double AmbientIntensity);
60 double getIntensity() const;
61 void setIntensity(double Intensity);
62 const OdDAIObjectId& getInContext() const;
63 void setInContext(const OdDAIObjectId& InContext);
64 const OdAnsiString& getName() const;
65 void setName(const OdAnsiString& Name);
66 const OdAnsiString& getDescription() const;
67 void setDescription(const OdAnsiString& Description);
68
69
70public:
72
79 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
80
87 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
88
94 virtual OdDAI::Entity* getInstanceType() const;
95
102 virtual OdRxValue getAttr(const char * attrName) const;
103
108 virtual void unsetAttr(const char * explicitAttrName);
109
116 virtual bool testAttr(const char * explicitAttrName) const;
117
125 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val);
126
133 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const;
134
141
148 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const;
149
154 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef);
155
162 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const;
163
171 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val);
172
173protected:
174 // Fields declaration:
175 OdDAI::DoubleList m_Color; // IfcColorRGB
176 IfcNormalisedRatioMeasure m_AmbientIntensity; // IfcNormalisedRatioMeasure
177 IfcNormalisedRatioMeasure m_Intensity; // IfcNormalisedRatioMeasure
178 OdDAIObjectId m_InContext; // IfcGeometricRepresentationContext
179 OdAnsiString m_Name; // IfcLabel
180 OdAnsiString m_Description; // IfcText [optional]
181};
182
187
188} // namespace
189
190#endif // _IFC2X_FINAL_IFCPRESENTATIONLIGHTSOURCE_AUTO_IMPL_H
#define IFC2X_FINAL_EXPORT
OdResult
Definition: OdResult.h:29
void setInContext(const OdDAIObjectId &InContext)
const OdDAIObjectId & getInContext() const
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
const OdAnsiString & getDescription() const
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef)
virtual bool testAttr(const char *explicitAttrName) const
void setAmbientIntensity(double AmbientIntensity)
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const
void setDescription(const OdAnsiString &Description)
virtual void unsetAttr(const char *explicitAttrName)
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val)
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const
const OdAnsiString & getName() const
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
virtual OdIfc::OdIfcEntityType type() const
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
void getColor(OdArray< double > &Color) const
void setName(const OdAnsiString &Name)
virtual OdDAI::Entity * getInstanceType() const
virtual OdRxValue getAttr(const char *attrName) const
IfcRatioMeasure IfcNormalisedRatioMeasure
OdSmartPtr< IfcPresentationLightSource > IfcPresentationLightSourcePtr