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 _OSGBACKGROUNDFIELDS_H_ 00052 #define _OSGBACKGROUNDFIELDS_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 <OSGSystemDef.h> 00062 00063 #include <OSGAttachmentContainerFields.h> 00064 00065 OSG_BEGIN_NAMESPACE 00066 00067 class Background; 00068 00069 #if !defined(OSG_DO_DOC) // created as a dummy class, remove to prevent doubles 00071 00072 typedef FCPtr<AttachmentContainerPtr, Background> BackgroundPtr; 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<BackgroundPtr> : 00085 public FieldTraitsRecurseMapper<BackgroundPtr, 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 const char *getSName(void) { return "SFBackgroundPtr"; } 00095 static const char *getMName(void) { return "MFBackgroundPtr"; } 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<BackgroundPtr> SFBackgroundPtr; 00111 #endif 00112 00113 #ifndef OSG_COMPILEBACKGROUNDINST 00114 OSG_DLLEXPORT_DECL1(SField, BackgroundPtr, OSG_SYSTEMLIB_DLLTMPLMAPPING) 00115 #endif 00116 00117 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS) 00118 00120 typedef MField<BackgroundPtr> MFBackgroundPtr; 00121 #endif 00122 00123 #ifndef OSG_COMPILEBACKGROUNDINST 00124 OSG_DLLEXPORT_DECL1(MField, BackgroundPtr, OSG_SYSTEMLIB_DLLTMPLMAPPING) 00125 #endif 00126 00127 OSG_END_NAMESPACE 00128 00129 #define OSGBACKGROUNDFIELDS_HEADER_CVSID "@(#)$Id: FCFieldsTemplate_h.h,v 1.26 2006/02/20 16:55:35 dirk Exp $" 00130 00131 #endif /* _OSGBACKGROUNDFIELDS_H_ */
1.6.1