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 _OSGSHADERVARIABLEPNT2FFIELDS_H_
52 #define _OSGSHADERVARIABLEPNT2FFIELDS_H_
57 #include "OSGConfig.h"
58 #include "OSGSystemDef.h"
60 #include "OSGFieldContainerFields.h"
61 #include "OSGPointerSField.h"
62 #include "OSGPointerMField.h"
68 class ShaderVariablePnt2f
;
70 OSG_GEN_CONTAINERPTR(ShaderVariablePnt2f
);
71 /*! \ingroup GrpSystemShaderFieldTraits
72 \ingroup GrpLibOSGSystem
75 struct FieldTraits
<ShaderVariablePnt2f
*, nsOSG
> :
76 public FieldTraitsFCPtrBase
<ShaderVariablePnt2f
*, nsOSG
>
80 static PointerType _type
;
84 typedef FieldTraits
<ShaderVariablePnt2f
*, nsOSG
> Self
;
86 enum { Convertible
= NotConvertible
};
88 static OSG_SYSTEM_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
<ShaderVariablePnt2f
*, nsOSG
>::getSName
<RecordedRefCountPolicy
>(void)
101 return "SFRecShaderVariablePnt2fPtr";
105 const Char8
*FieldTraits
<ShaderVariablePnt2f
*, nsOSG
>::getSName
<UnrecordedRefCountPolicy
>(void)
107 return "SFUnrecShaderVariablePnt2fPtr";
111 const Char8
*FieldTraits
<ShaderVariablePnt2f
*, nsOSG
>::getSName
<WeakRefCountPolicy
>(void)
113 return "SFWeakShaderVariablePnt2fPtr";
117 const Char8
*FieldTraits
<ShaderVariablePnt2f
*, nsOSG
>::getSName
<NoRefCountPolicy
>(void)
119 return "SFUnrefdShaderVariablePnt2fPtr";
123 const Char8
*FieldTraits
<ShaderVariablePnt2f
*, nsOSG
>::getMName
<RecordedRefCountPolicy
>(void)
125 return "MFRecShaderVariablePnt2fPtr";
129 const Char8
*FieldTraits
<ShaderVariablePnt2f
*, nsOSG
>::getMName
<UnrecordedRefCountPolicy
>(void)
131 return "MFUnrecShaderVariablePnt2fPtr";
135 const Char8
*FieldTraits
<ShaderVariablePnt2f
*, nsOSG
>::getMName
<WeakRefCountPolicy
>(void)
137 return "MFWeakShaderVariablePnt2fPtr";
141 const Char8
*FieldTraits
<ShaderVariablePnt2f
*, nsOSG
>::getMName
<NoRefCountPolicy
>(void)
143 return "MFUnrefdShaderVariablePnt2fPtr";
147 #ifndef DOXYGEN_SHOULD_SKIP_THIS
148 /*! \ingroup GrpSystemShaderFieldSFields */
149 typedef PointerSField
<ShaderVariablePnt2f
*,
150 RecordedRefCountPolicy
, nsOSG
> SFRecShaderVariablePnt2fPtr
;
151 /*! \ingroup GrpSystemShaderFieldSFields */
152 typedef PointerSField
<ShaderVariablePnt2f
*,
153 UnrecordedRefCountPolicy
, nsOSG
> SFUnrecShaderVariablePnt2fPtr
;
154 /*! \ingroup GrpSystemShaderFieldSFields */
155 typedef PointerSField
<ShaderVariablePnt2f
*,
156 WeakRefCountPolicy
, nsOSG
> SFWeakShaderVariablePnt2fPtr
;
157 /*! \ingroup GrpSystemShaderFieldSFields */
158 typedef PointerSField
<ShaderVariablePnt2f
*,
159 NoRefCountPolicy
, nsOSG
> SFUncountedShaderVariablePnt2fPtr
;
162 /*! \ingroup GrpSystemShaderFieldMFields */
163 typedef PointerMField
<ShaderVariablePnt2f
*,
164 RecordedRefCountPolicy
, nsOSG
> MFRecShaderVariablePnt2fPtr
;
165 /*! \ingroup GrpSystemShaderFieldMFields */
166 typedef PointerMField
<ShaderVariablePnt2f
*,
167 UnrecordedRefCountPolicy
, nsOSG
> MFUnrecShaderVariablePnt2fPtr
;
168 /*! \ingroup GrpSystemShaderFieldMFields */
169 typedef PointerMField
<ShaderVariablePnt2f
*,
170 WeakRefCountPolicy
, nsOSG
> MFWeakShaderVariablePnt2fPtr
;
171 /*! \ingroup GrpSystemShaderFieldMFields */
172 typedef PointerMField
<ShaderVariablePnt2f
*,
173 NoRefCountPolicy
, nsOSG
> MFUncountedShaderVariablePnt2fPtr
;
178 #else // these are the doxygen hacks
180 /*! \ingroup GrpSystemShaderFieldSFields \ingroup GrpLibOSGSystem */
181 struct SFRecShaderVariablePnt2fPtr
:
182 public PointerSField
<ShaderVariablePnt2f
*,
183 RecordedRefCountPolicy
> {};
184 /*! \ingroup GrpSystemShaderFieldSFields \ingroup GrpLibOSGSystem */
185 struct SFUnrecShaderVariablePnt2fPtr
:
186 public PointerSField
<ShaderVariablePnt2f
*,
187 UnrecordedRefCountPolicy
> {};
188 /*! \ingroup GrpSystemShaderFieldSFields \ingroup GrpLibOSGSystem */
189 struct SFWeakShaderVariablePnt2fPtr
:
190 public PointerSField
<ShaderVariablePnt2f
*,
191 WeakRefCountPolicy
> {};
192 /*! \ingroup GrpSystemShaderFieldSFields \ingroup GrpLibOSGSystem */
193 struct SFUncountedShaderVariablePnt2fPtr
:
194 public PointerSField
<ShaderVariablePnt2f
*,
195 NoRefCountPolicy
> {};
198 /*! \ingroup GrpSystemShaderFieldMFields \ingroup GrpLibOSGSystem */
199 struct MFRecShaderVariablePnt2fPtr
:
200 public PointerMField
<ShaderVariablePnt2f
*,
201 RecordedRefCountPolicy
> {};
202 /*! \ingroup GrpSystemShaderFieldMFields \ingroup GrpLibOSGSystem */
203 struct MFUnrecShaderVariablePnt2fPtr
:
204 public PointerMField
<ShaderVariablePnt2f
*,
205 UnrecordedRefCountPolicy
> {};
206 /*! \ingroup GrpSystemShaderFieldMFields \ingroup GrpLibOSGSystem */
207 struct MFWeakShaderVariablePnt2fPtr
:
208 public PointerMField
<ShaderVariablePnt2f
*,
209 WeakRefCountPolicy
> {};
210 /*! \ingroup GrpSystemShaderFieldMFields \ingroup GrpLibOSGSystem */
211 struct MFUncountedShaderVariablePnt2fPtr
:
212 public PointerMField
<ShaderVariablePnt2f
*,
213 NoRefCountPolicy
> {};
217 #endif // these are the doxygen hacks
221 #endif /* _OSGSHADERVARIABLEPNT2FFIELDS_H_ */