00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051 #ifndef _OSGWIN32WINDOWFIELDS_H_
00052 #define _OSGWIN32WINDOWFIELDS_H_
00053 #ifdef __sgi
00054 #pragma once
00055 #endif
00056
00057 #include <OSGConfig.h>
00058
00059 #include <OSGFieldContainerPtr.h>
00060 #include <OSGNodeCoreFieldDataType.h>
00061 #include <OSGWindowWIN32Def.h>
00062
00063 #include <OSGWindowFields.h>
00064
00065 OSG_BEGIN_NAMESPACE
00066
00067 class WIN32Window;
00068
00069 #if !defined(OSG_DO_DOC) // created as a dummy class, remove to prevent doubles
00070
00071
00072 typedef FCPtr<WindowPtr, WIN32Window> WIN32WindowPtr;
00073
00074 #endif
00075
00076 #if !defined(OSG_DO_DOC) || (OSG_DOC_LEVEL >= 3)
00077
00079 #if !defined(OSG_DOC_DEV_TRAITS)
00080
00081 #endif
00082
00083 template <>
00084 struct FieldDataTraits<WIN32WindowPtr> :
00085 public FieldTraitsRecurseMapper<WIN32WindowPtr, true>
00086 {
00087 static DataType _type;
00088
00089 enum { StringConvertable = 0x00 };
00090 enum { bHasParent = 0x01 };
00091
00092 static DataType &getType (void) { return _type; }
00093
00094 static char *getSName(void) { return "SFWIN32WindowPtr"; }
00095 static char *getMName(void) { return "MFWIN32WindowPtr"; }
00096 };
00097
00098 #if !defined(OSG_DOC_DEV_TRAITS)
00099
00102 #endif
00103
00104 #endif // !defined(OSG_DO_DOC) || (OSG_DOC_LEVEL >= 3)
00105
00106
00107 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00108
00110 typedef SField<WIN32WindowPtr> SFWIN32WindowPtr;
00111 #endif
00112
00113 #ifndef OSG_COMPILEWIN32WINDOWINST
00114 OSG_DLLEXPORT_DECL1(SField, WIN32WindowPtr, OSG_WINDOWWIN32LIB_DLLTMPLMAPPING)
00115 #endif
00116
00117 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00118
00120 typedef MField<WIN32WindowPtr> MFWIN32WindowPtr;
00121 #endif
00122
00123 #ifndef OSG_COMPILEWIN32WINDOWINST
00124 OSG_DLLEXPORT_DECL1(MField, WIN32WindowPtr, OSG_WINDOWWIN32LIB_DLLTMPLMAPPING)
00125 #endif
00126
00127 OSG_END_NAMESPACE
00128
00129 #define OSGWIN32WINDOWFIELDS_HEADER_CVSID "@(#)$Id: FCFieldsTemplate_h.h,v 1.24 2004/08/03 05:53:03 dirk Exp $"
00130
00131 #endif