1 /*---------------------------------------------------------------------------*\
5 * Copyright (C) 2000-2013 by the OpenSG Forum *
9 * contact: dirk@opensg.org, gerrit.voss@vossg.org, carsten_neumann@gmx.net *
11 \*---------------------------------------------------------------------------*/
12 /*---------------------------------------------------------------------------*\
15 * This library is free software; you can redistribute it and/or modify it *
16 * under the terms of the GNU Library General Public License as published *
17 * by the Free Software Foundation, version 2. *
19 * This library is distributed in the hope that it will be useful, but *
20 * WITHOUT ANY WARRANTY; without even the implied warranty of *
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
22 * Library General Public License for more details. *
24 * You should have received a copy of the GNU Library General Public *
25 * License along with this library; if not, write to the Free Software *
26 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
28 \*---------------------------------------------------------------------------*/
29 /*---------------------------------------------------------------------------*\
37 \*---------------------------------------------------------------------------*/
39 /*****************************************************************************\
40 *****************************************************************************
42 ** This file is automatically generated. **
44 ** Any changes made to this file WILL be lost when it is **
45 ** regenerated, which can become necessary at any time. **
47 *****************************************************************************
48 \*****************************************************************************/
51 #ifndef _OSGTRAPEZOIDALSHADOWMAPENGINEFIELDS_H_
52 #define _OSGTRAPEZOIDALSHADOWMAPENGINEFIELDS_H_
57 #include "OSGConfig.h"
58 #include "OSGContribTrapezoidalShadowMapsDef.h"
60 #include "OSGFieldContainerFields.h"
61 #include "OSGPointerSField.h"
62 #include "OSGPointerMField.h"
68 class TrapezoidalShadowMapEngine
;
70 OSG_GEN_CONTAINERPTR(TrapezoidalShadowMapEngine
);
71 /*! \ingroup GrpContribTrapezoidalShadowMapsFieldTraits
72 \ingroup GrpLibOSGContribTrapezoidalShadowMaps
75 struct FieldTraits
<TrapezoidalShadowMapEngine
*, nsOSG
> :
76 public FieldTraitsFCPtrBase
<TrapezoidalShadowMapEngine
*, nsOSG
>
80 static PointerType _type
;
84 typedef FieldTraits
<TrapezoidalShadowMapEngine
*, nsOSG
> Self
;
86 enum { Convertible
= NotConvertible
};
88 static OSG_CONTRIBTRAPEZOIDALSHADOWMAPS_DLLMAPPING DataType
&getType(void);
90 template<typename RefCountPolicy
> inline
91 static const Char8
*getSName (void);
93 template<typename RefCountPolicy
> inline
94 static const Char8
*getMName (void);
99 const Char8
*FieldTraits
<TrapezoidalShadowMapEngine
*, nsOSG
>::getSName
<RecordedRefCountPolicy
>(void)
101 return "SFRecTrapezoidalShadowMapEnginePtr";
105 const Char8
*FieldTraits
<TrapezoidalShadowMapEngine
*, nsOSG
>::getSName
<UnrecordedRefCountPolicy
>(void)
107 return "SFUnrecTrapezoidalShadowMapEnginePtr";
111 const Char8
*FieldTraits
<TrapezoidalShadowMapEngine
*, nsOSG
>::getSName
<WeakRefCountPolicy
>(void)
113 return "SFWeakTrapezoidalShadowMapEnginePtr";
117 const Char8
*FieldTraits
<TrapezoidalShadowMapEngine
*, nsOSG
>::getSName
<NoRefCountPolicy
>(void)
119 return "SFUnrefdTrapezoidalShadowMapEnginePtr";
123 const Char8
*FieldTraits
<TrapezoidalShadowMapEngine
*, nsOSG
>::getMName
<RecordedRefCountPolicy
>(void)
125 return "MFRecTrapezoidalShadowMapEnginePtr";
129 const Char8
*FieldTraits
<TrapezoidalShadowMapEngine
*, nsOSG
>::getMName
<UnrecordedRefCountPolicy
>(void)
131 return "MFUnrecTrapezoidalShadowMapEnginePtr";
135 const Char8
*FieldTraits
<TrapezoidalShadowMapEngine
*, nsOSG
>::getMName
<WeakRefCountPolicy
>(void)
137 return "MFWeakTrapezoidalShadowMapEnginePtr";
141 const Char8
*FieldTraits
<TrapezoidalShadowMapEngine
*, nsOSG
>::getMName
<NoRefCountPolicy
>(void)
143 return "MFUnrefdTrapezoidalShadowMapEnginePtr";
147 #ifndef DOXYGEN_SHOULD_SKIP_THIS
148 /*! \ingroup GrpContribTrapezoidalShadowMapsFieldSFields */
149 typedef PointerSField
<TrapezoidalShadowMapEngine
*,
150 RecordedRefCountPolicy
, nsOSG
> SFRecTrapezoidalShadowMapEnginePtr
;
151 /*! \ingroup GrpContribTrapezoidalShadowMapsFieldSFields */
152 typedef PointerSField
<TrapezoidalShadowMapEngine
*,
153 UnrecordedRefCountPolicy
, nsOSG
> SFUnrecTrapezoidalShadowMapEnginePtr
;
154 /*! \ingroup GrpContribTrapezoidalShadowMapsFieldSFields */
155 typedef PointerSField
<TrapezoidalShadowMapEngine
*,
156 WeakRefCountPolicy
, nsOSG
> SFWeakTrapezoidalShadowMapEnginePtr
;
157 /*! \ingroup GrpContribTrapezoidalShadowMapsFieldSFields */
158 typedef PointerSField
<TrapezoidalShadowMapEngine
*,
159 NoRefCountPolicy
, nsOSG
> SFUncountedTrapezoidalShadowMapEnginePtr
;
162 /*! \ingroup GrpContribTrapezoidalShadowMapsFieldMFields */
163 typedef PointerMField
<TrapezoidalShadowMapEngine
*,
164 RecordedRefCountPolicy
, nsOSG
> MFRecTrapezoidalShadowMapEnginePtr
;
165 /*! \ingroup GrpContribTrapezoidalShadowMapsFieldMFields */
166 typedef PointerMField
<TrapezoidalShadowMapEngine
*,
167 UnrecordedRefCountPolicy
, nsOSG
> MFUnrecTrapezoidalShadowMapEnginePtr
;
168 /*! \ingroup GrpContribTrapezoidalShadowMapsFieldMFields */
169 typedef PointerMField
<TrapezoidalShadowMapEngine
*,
170 WeakRefCountPolicy
, nsOSG
> MFWeakTrapezoidalShadowMapEnginePtr
;
171 /*! \ingroup GrpContribTrapezoidalShadowMapsFieldMFields */
172 typedef PointerMField
<TrapezoidalShadowMapEngine
*,
173 NoRefCountPolicy
, nsOSG
> MFUncountedTrapezoidalShadowMapEnginePtr
;
178 #else // these are the doxygen hacks
180 /*! \ingroup GrpContribTrapezoidalShadowMapsFieldSFields \ingroup GrpLibOSGContribTrapezoidalShadowMaps */
181 struct SFRecTrapezoidalShadowMapEnginePtr
:
182 public PointerSField
<TrapezoidalShadowMapEngine
*,
183 RecordedRefCountPolicy
> {};
184 /*! \ingroup GrpContribTrapezoidalShadowMapsFieldSFields \ingroup GrpLibOSGContribTrapezoidalShadowMaps */
185 struct SFUnrecTrapezoidalShadowMapEnginePtr
:
186 public PointerSField
<TrapezoidalShadowMapEngine
*,
187 UnrecordedRefCountPolicy
> {};
188 /*! \ingroup GrpContribTrapezoidalShadowMapsFieldSFields \ingroup GrpLibOSGContribTrapezoidalShadowMaps */
189 struct SFWeakTrapezoidalShadowMapEnginePtr
:
190 public PointerSField
<TrapezoidalShadowMapEngine
*,
191 WeakRefCountPolicy
> {};
192 /*! \ingroup GrpContribTrapezoidalShadowMapsFieldSFields \ingroup GrpLibOSGContribTrapezoidalShadowMaps */
193 struct SFUncountedTrapezoidalShadowMapEnginePtr
:
194 public PointerSField
<TrapezoidalShadowMapEngine
*,
195 NoRefCountPolicy
> {};
198 /*! \ingroup GrpContribTrapezoidalShadowMapsFieldMFields \ingroup GrpLibOSGContribTrapezoidalShadowMaps */
199 struct MFRecTrapezoidalShadowMapEnginePtr
:
200 public PointerMField
<TrapezoidalShadowMapEngine
*,
201 RecordedRefCountPolicy
> {};
202 /*! \ingroup GrpContribTrapezoidalShadowMapsFieldMFields \ingroup GrpLibOSGContribTrapezoidalShadowMaps */
203 struct MFUnrecTrapezoidalShadowMapEnginePtr
:
204 public PointerMField
<TrapezoidalShadowMapEngine
*,
205 UnrecordedRefCountPolicy
> {};
206 /*! \ingroup GrpContribTrapezoidalShadowMapsFieldMFields \ingroup GrpLibOSGContribTrapezoidalShadowMaps */
207 struct MFWeakTrapezoidalShadowMapEnginePtr
:
208 public PointerMField
<TrapezoidalShadowMapEngine
*,
209 WeakRefCountPolicy
> {};
210 /*! \ingroup GrpContribTrapezoidalShadowMapsFieldMFields \ingroup GrpLibOSGContribTrapezoidalShadowMaps */
211 struct MFUncountedTrapezoidalShadowMapEnginePtr
:
212 public PointerMField
<TrapezoidalShadowMapEngine
*,
213 NoRefCountPolicy
> {};
217 #endif // these are the doxygen hacks
221 #endif /* _OSGTRAPEZOIDALSHADOWMAPENGINEFIELDS_H_ */