CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Ifc4x1/IfcLightSourceAutoImpl.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 _IFC4X1_IFCLIGHTSOURCE_AUTO_IMPL_H
27#define _IFC4X1_IFCLIGHTSOURCE_AUTO_IMPL_H
28
31
36namespace OdIfc4x1 {
37
39{
40 //DOM-IGNORE-BEGIN
41 OD_EXP_NON_INSTANTIABLE_DECLARE_MEMBERS(OdIfc4x1::IfcLightSource);
42 //DOM-IGNORE-END
43
44public:
45
46
47 //
48 // OdDAI early binding accessors
49 //
50
51 const OdAnsiString& getName() const;
52 void setName(const OdAnsiString& Name);
53 const OdDAIObjectId& getLightColour() const;
54 void setLightColour(const OdDAIObjectId& LightColour);
55 double getAmbientIntensity() const;
56 void setAmbientIntensity(double AmbientIntensity);
57 double getIntensity() const;
58 void setIntensity(double Intensity);
59
60
61public:
63
70 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler);
71
78 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler);
79
85 virtual OdDAI::Entity* getInstanceType() const;
86
93 virtual OdRxValue getAttr(const char * attrName) const;
94
99 virtual void unsetAttr(const char * explicitAttrName);
100
107 virtual bool testAttr(const char * explicitAttrName) const;
108
116 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val);
117
124 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const;
125
132
139 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const;
140
145 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef);
146
153 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const;
154
162 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val);
163
164protected:
165 // Fields declaration:
166 OdAnsiString m_Name; // IfcLabel [optional]
167 OdDAIObjectId m_LightColour; // IfcColourRgb
168 IfcNormalisedRatioMeasure m_AmbientIntensity; // IfcNormalisedRatioMeasure [optional]
169 IfcNormalisedRatioMeasure m_Intensity; // IfcNormalisedRatioMeasure [optional]
170};
171
176
177} // namespace
178
179#endif // _IFC4X1_IFCLIGHTSOURCE_AUTO_IMPL_H
#define IFC4X1_EXPORT
OdResult
Definition: OdResult.h:29
virtual void unsetAttr(const char *explicitAttrName)
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler)
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler)
void setLightColour(const OdDAIObjectId &LightColour)
double getIntensity() const
IfcNormalisedRatioMeasure m_Intensity
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef)
const OdAnsiString & getName() const
void setAmbientIntensity(double AmbientIntensity)
void setIntensity(double Intensity)
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val)
const OdDAIObjectId & getLightColour() const
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const
void setName(const OdAnsiString &Name)
virtual bool testAttr(const char *explicitAttrName) const
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const
IfcNormalisedRatioMeasure m_AmbientIntensity
virtual OdIfc::OdIfcEntityType type() const
double getAmbientIntensity() const
virtual OdRxValue getAttr(const char *attrName) const
virtual OdDAI::Entity * getInstanceType() const
IfcRatioMeasure IfcNormalisedRatioMeasure
OdSmartPtr< IfcLightSource > IfcLightSourcePtr