OSGStageFields.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------------*\
00002  *                                OpenSG                                     *
00003  *                                                                           *
00004  *                                                                           *
00005  *               Copyright (C) 2000-2006 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 _OSGSTAGEFIELDS_H_
00052 #define _OSGSTAGEFIELDS_H_
00053 #ifdef __sgi
00054 #pragma once
00055 #endif
00056 
00057 #include "OSGConfig.h"
00058 #include "OSGGroupDef.h"
00059 
00060 #include "OSGGroupFields.h"
00061 
00062 #include "OSGSFieldAdaptor.h"
00063 #include "OSGMFieldAdaptor.h"
00064 
00065 
00066 OSG_BEGIN_NAMESPACE
00067 
00068 class Stage;
00069 
00070 #if !defined(OSG_DO_DOC) // created as a dummy class, remove to prevent doubles
00072 
00073 OSG_GEN_CONTAINERPTR(Stage);
00074 
00075 #endif
00076 
00077 #if !defined(OSG_DO_DOC) || (OSG_DOC_LEVEL >= 3)
00078 
00080 #if !defined(OSG_DOC_DEV_TRAITS)
00081 
00082 #endif
00083 
00084 template <>
00085 struct FieldTraits<StagePtr> :
00086     public FieldTraitsFCPtrBase<StagePtr>
00087 {
00088   private:
00089 
00090     static DataType             _type;
00091 
00092   public:
00093 
00094     typedef FieldTraits<StagePtr>  Self;
00095 
00096     enum                        { Convertible = NotConvertible };
00097 
00098     static OSG_GROUP_DLLMAPPING DataType &getType(void);
00099 
00100     static const char *getSName(void) { return "SFStagePtr"; }
00101     static const char *getMName(void) { return "MFStagePtr"; }
00102 };
00103 
00104 #if !defined(OSG_DOC_DEV_TRAITS)
00105 
00108 #endif
00109 
00110 #endif // !defined(OSG_DO_DOC) || (OSG_DOC_LEVEL >= 3)
00111 
00112 
00113 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00114 
00116 typedef SFieldAdaptor<StagePtr, SFFieldContainerPtr> SFStagePtr;
00117 #endif
00118 
00119 
00120 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00121 
00123 typedef MFieldAdaptor<StagePtr, MFFieldContainerPtr> MFStagePtr;
00124 #endif
00125 
00126 
00127 OSG_END_NAMESPACE
00128 
00129 #endif /* _OSGSTAGEFIELDS_H_ */