Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

OSGGeoPropPLengths.cpp

Go to the documentation of this file.
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  //  Includes
00041 //---------------------------------------------------------------------------
00042 
00043 #define OSG_COMPILEGEOPROPPLENGTHINST
00044 
00045 #include <stdlib.h>
00046 #include <stdio.h>
00047 
00048 #include "OSGConfig.h"
00049 
00050 #include "OSGGeoPropPLengths.h"
00051 
00052 OSG_USING_NAMESPACE
00053 
00054 FieldDescription *GeoPLengthsUI32PropertyDesc::_desc[] =
00055 {
00056     new FieldDescription(
00057         StoredFieldType::getClassType(), 
00058         getFieldName(), 
00059         OSG_FC_FIELD_IDM_DESC(GeoProperty<
00060                                GeoPLengthsUI32PropertyDesc>::GeoPropDataField),
00061         false,
00062 #ifdef OSG_MICROSOFT_COMPILER_HACKS
00063         GeoProperty<GeoPLengthsUI32PropertyDesc>::getFPtrAccessMethod())
00064 #else
00065         (FieldAccessMethod) &GeoProperty<
00066                                GeoPLengthsUI32PropertyDesc>::getFieldPtr)
00067 #endif
00068 };
00069 
00070 FieldDescription *GeoPLengthsUI16PropertyDesc::_desc[] =
00071 {
00072     new FieldDescription(
00073         StoredFieldType::getClassType(), 
00074         getFieldName(), 
00075         OSG_FC_FIELD_IDM_DESC(GeoProperty<
00076                                GeoPLengthsUI16PropertyDesc>::GeoPropDataField),
00077         false,
00078 #ifdef OSG_MICROSOFT_COMPILER_HACKS
00079         GeoProperty<GeoPLengthsUI16PropertyDesc>::getFPtrAccessMethod())
00080 #else
00081         (FieldAccessMethod) &GeoProperty<
00082                                GeoPLengthsUI16PropertyDesc>::getFieldPtr)
00083 #endif
00084 };
00085 
00086 FieldDescription *GeoPLengthsUI8PropertyDesc::_desc[] =
00087 {
00088     new FieldDescription(
00089         StoredFieldType::getClassType(), 
00090         getFieldName(), 
00091         OSG_FC_FIELD_IDM_DESC(GeoProperty<
00092                                GeoPLengthsUI8PropertyDesc>::GeoPropDataField),
00093         false,
00094 #ifdef OSG_MICROSOFT_COMPILER_HACKS
00095         GeoProperty<GeoPLengthsUI8PropertyDesc>::getFPtrAccessMethod())
00096 #else
00097         (FieldAccessMethod) &GeoProperty<
00098                                GeoPLengthsUI8PropertyDesc>::getFieldPtr)
00099 #endif
00100 };
00101 
00102 OSG_GEO_PROP_TYPE_TMPL_DEF(GeoProperty, GeoPropertyDesc, PtrType)
00103 
00104 OSG_BEGIN_NAMESPACE
00105 
00106 OSG_GEOPROP_DLLEXPORT_DEF (GeoProperty,
00107                            GeoPLengthsUI32PropertyDesc, 
00108                            OSG_SYSTEMLIB_DLLTMPLMAPPING);
00109 
00110 OSG_GEOPROP_DLLEXPORT_DEF (GeoProperty,
00111                            GeoPLengthsUI16PropertyDesc, 
00112                            OSG_SYSTEMLIB_DLLTMPLMAPPING);
00113 
00114 OSG_GEOPROP_DLLEXPORT_DEF (GeoProperty,
00115                            GeoPLengthsUI8PropertyDesc, 
00116                            OSG_SYSTEMLIB_DLLTMPLMAPPING);
00117 
00118 OSG_END_NAMESPACE

Generated on Thu Aug 25 04:05:24 2005 for OpenSG by  doxygen 1.4.3