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 _OSGQTWINDOWFIELDS_H_
00052 #define _OSGQTWINDOWFIELDS_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 <OSGWindowQTDef.h>
00062
00063 #include <OSGWindowFields.h>
00064
00065 OSG_BEGIN_NAMESPACE
00066
00067 class QTWindow;
00068
00070
00071 typedef FCPtr<WindowPtr, QTWindow> QTWindowPtr;
00072
00073 #if !defined(OSG_DO_DOC) || (OSG_DOC_LEVEL >= 3)
00074
00080 template <>
00081 struct FieldDataTraits<QTWindowPtr> :
00082 public FieldTraitsRecurseMapper<QTWindowPtr, true>
00083 {
00084 static DataType _type;
00085
00086 enum { StringConvertable = 0x00 };
00087 enum { bHasParent = 0x01 };
00088
00089 static DataType &getType (void) { return _type; }
00090
00091 static char *getSName(void) { return "SFQTWindowPtr"; }
00092 static char *getMName(void) { return "MFQTWindowPtr"; }
00093 };
00094
00095 #if !defined(OSG_DOC_DEV_TRAITS)
00096
00098 #endif
00099
00100 #endif // !defined(OSG_DO_DOC) || (OSG_DOC_LEVEL >= 3)
00101
00102
00103 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00104
00106 typedef SField<QTWindowPtr> SFQTWindowPtr;
00107 #endif
00108
00109 #ifndef OSG_COMPILEQTWINDOWINST
00110 OSG_DLLEXPORT_DECL1(SField, QTWindowPtr, OSG_WINDOWQTLIB_DLLTMPLMAPPING)
00111 #endif
00112
00113
00114 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00115
00117 typedef MField<QTWindowPtr> MFQTWindowPtr;
00118 #endif
00119
00120 #ifndef OSG_COMPILEQTWINDOWINST
00121 OSG_DLLEXPORT_DECL1(MField, QTWindowPtr, OSG_WINDOWQTLIB_DLLTMPLMAPPING)
00122 #endif
00123
00124 OSG_END_NAMESPACE
00125
00126 #define OSGQTWINDOWFIELDS_HEADER_CVSID "@(#)$Id: $"
00127
00128 #endif