1 /*---------------------------------------------------------------------------*\
5 * Copyright (C) 2003 by the OpenSG Forum *
9 * contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de *
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 #ifndef _OSGSYSSFIELDS_H_
40 #define _OSGSYSSFIELDS_H_
45 #include "OSGSField.h"
46 #include "OSGSysFieldTraits.h"
50 #ifndef DOXYGEN_SHOULD_SKIP_THIS
52 /*! \ingroup GrpBaseFieldSingle */
53 typedef SField
<bool, 2> SFBool
;
56 /*! \ingroup GrpBaseFieldSingle */
57 typedef SField
<Int8
> SFInt8
;
60 /*! \ingroup GrpBaseFieldSingle */
61 typedef SField
<UInt8
> SFUInt8
;
64 /*! \ingroup GrpBaseFieldSingle */
65 typedef SField
<Int16
> SFInt16
;
68 /*! \ingroup GrpBaseFieldSingle */
69 typedef SField
<UInt16
> SFUInt16
;
72 /*! \ingroup GrpBaseFieldSingle */
73 typedef SField
<Int32
> SFInt32
;
76 /*! \ingroup GrpBaseFieldSingle */
77 typedef SField
<UInt32
> SFUInt32
;
80 /*! \ingroup GrpBaseFieldSingle */
81 typedef SField
<Int64
> SFInt64
;
84 /*! \ingroup GrpBaseFieldSingle */
85 typedef SField
<UInt64
> SFUInt64
;
88 /*! \ingroup GrpBaseFieldSingle */
89 typedef SField
<Real16
> SFReal16
;
92 /*! \ingroup GrpBaseFieldSingle */
93 typedef SField
<Real32
> SFReal32
;
96 /*! \ingroup GrpBaseFieldSingle */
97 typedef SField
<Fixed32
> SFFixed32
;
100 /*! \ingroup GrpBaseFieldSingle */
101 typedef SField
<Real64
> SFReal64
;
104 /*! \ingroup GrpBaseFieldSingle */
105 typedef SField
<void *> SFVoidP
;
107 #else // these are the doxygen hacks
109 /*! \ingroup GrpBaseFieldSingle \ingroup GrpLibOSGBase */
110 struct SFBool
: public SField
<bool, 2> {};
111 /*! \ingroup GrpBaseFieldSingle \ingroup GrpLibOSGBase */
112 struct SFInt8
: public SField
<Int8
> {};
113 /*! \ingroup GrpBaseFieldSingle \ingroup GrpLibOSGBase */
114 struct SFUInt8
: public SField
<UInt8
> {};
115 /*! \ingroup GrpBaseFieldSingle \ingroup GrpLibOSGBase */
116 struct SFInt16
: public SField
<Int16
> {};
117 /*! \ingroup GrpBaseFieldSingle \ingroup GrpLibOSGBase */
118 struct SFUInt16
: public SField
<UInt16
> {};
119 /*! \ingroup GrpBaseFieldSingle \ingroup GrpLibOSGBase */
120 struct SFInt32
: public SField
<Int32
> {};
121 /*! \ingroup GrpBaseFieldSingle \ingroup GrpLibOSGBase */
122 struct SFUInt32
: public SField
<UInt32
> {};
123 /*! \ingroup GrpBaseFieldSingle \ingroup GrpLibOSGBase */
124 struct SFInt64
: public SField
<Int64
> {};
125 /*! \ingroup GrpBaseFieldSingle \ingroup GrpLibOSGBase */
126 struct SFUInt64
: public SField
<UInt64
> {};
127 /*! \ingroup GrpBaseFieldSingle \ingroup GrpLibOSGBase */
128 struct SFReal16
: public SField
<Real16
> {};
129 /*! \ingroup GrpBaseFieldSingle \ingroup GrpLibOSGBase */
130 struct SFReal32
: public SField
<Real32
> {};
131 /*! \ingroup GrpBaseFieldSingle \ingroup GrpLibOSGBase */
132 struct SFFixed32
: public SField
<Fixed32
> {};
133 /*! \ingroup GrpBaseFieldSingle \ingroup GrpLibOSGBase */
134 struct SFReal64
: public SField
<Real64
> {};
135 /*! \ingroup GrpBaseFieldSingle \ingroup GrpLibOSGBase */
136 struct SFVoidP
: public SField
<void *> {};
138 #endif // these are the doxygen hacks
142 #endif /* _OSGSYSSFIELDS_H_ */