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 #define OSG_COMPILEGEOPROPINDEXINST
00044
00045 #include <stdlib.h>
00046 #include <stdio.h>
00047
00048 #include "OSGConfig.h"
00049
00050 #include "OSGGeoPropIndices.h"
00051
00052 OSG_USING_NAMESPACE
00053
00054 FieldDescription *GeoIndicesUI32PropertyDesc::_desc[] =
00055 {
00056 new FieldDescription(
00057 StoredFieldType::getClassType(),
00058 getFieldName(),
00059 OSG_FC_FIELD_IDM_DESC(GeoProperty<
00060 GeoIndicesUI32PropertyDesc>::GeoPropDataField),
00061 false,
00062 #ifdef OSG_MICROSOFT_COMPILER_HACKS
00063 GeoProperty<GeoIndicesUI32PropertyDesc>::getFPtrAccessMethod())
00064 #else
00065 (FieldAccessMethod) &GeoProperty<
00066 GeoIndicesUI32PropertyDesc>::getFieldPtr)
00067 #endif
00068 };
00069
00070 FieldDescription *GeoIndicesUI16PropertyDesc::_desc[] =
00071 {
00072 new FieldDescription(
00073 StoredFieldType::getClassType(),
00074 getFieldName(),
00075 OSG_FC_FIELD_IDM_DESC(GeoProperty<
00076 GeoIndicesUI16PropertyDesc>::GeoPropDataField),
00077 false,
00078 #ifdef OSG_MICROSOFT_COMPILER_HACKS
00079 GeoProperty<GeoIndicesUI16PropertyDesc>::getFPtrAccessMethod())
00080 #else
00081 (FieldAccessMethod) &GeoProperty<
00082 GeoIndicesUI16PropertyDesc>::getFieldPtr)
00083 #endif
00084 };
00085
00086
00087 OSG_GEO_PROP_TYPE_TMPL_DEF(GeoProperty, GeoPropertyDesc, PtrType)
00088
00089 OSG_BEGIN_NAMESPACE
00090
00091 OSG_GEOPROP_DLLEXPORT_DEF (GeoProperty ,
00092 GeoIndicesUI32PropertyDesc,
00093 OSG_SYSTEMLIB_DLLTMPLMAPPING);
00094
00095 OSG_GEOPROP_DLLEXPORT_DEF (GeoProperty ,
00096 GeoIndicesUI16PropertyDesc,
00097 OSG_SYSTEMLIB_DLLTMPLMAPPING);
00098
00099 OSG_END_NAMESPACE