00001 /*---------------------------------------------------------------------------*\ 00002 * OpenSG * 00003 * * 00004 * * 00005 * Copyright (C) 2000-2002 by the OpenSG Forum * 00006 * * 00007 * www.opensg.org * 00008 * * 00009 * contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de * 00010 * * 00011 \*---------------------------------------------------------------------------*/ 00012 /*---------------------------------------------------------------------------*\ 00013 * License * 00014 * * 00015 * This library is free software; you can redistribute it and/or modify it * 00016 * under the terms of the GNU Library General Public License as published * 00017 * by the Free Software Foundation, version 2. * 00018 * * 00019 * This library is distributed in the hope that it will be useful, but * 00020 * WITHOUT ANY WARRANTY; without even the implied warranty of * 00021 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * 00022 * Library General Public License for more details. * 00023 * * 00024 * You should have received a copy of the GNU Library General Public * 00025 * License along with this library; if not, write to the Free Software * 00026 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * 00027 * * 00028 \*---------------------------------------------------------------------------*/ 00029 /*---------------------------------------------------------------------------*\ 00030 * Changes * 00031 * * 00032 * * 00033 * * 00034 * * 00035 * * 00036 * * 00037 \*---------------------------------------------------------------------------*/ 00038 00039 /*****************************************************************************\ 00040 ***************************************************************************** 00041 ** ** 00042 ** This file is automatically generated. ** 00043 ** ** 00044 ** Any changes made to this file WILL be lost when it is ** 00045 ** regenerated, which can become necessary at any time. ** 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 /* _OSGQTWINDOWFIELDS_H_ */
1.5.5