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 OSG_BEGIN_NAMESPACE
00040
00041
00042
00043
00044 #ifdef WIN32
00045
00046 #ifdef OSG_MICROSOFT_COMPILER_HACKS
00047 template <class FieldTypeT, Int32 fieldNameSpace>
00048 const FieldType SField<FieldTypeT, fieldNameSpace>::_fieldType = FieldType(
00049 SFieldTraits::getSName(),
00050 SFieldTraits::getPName(),
00051 SFieldTraits::getType (),
00052 SField<FieldTypeT, fieldNameSpace>::create,
00053 FieldType ::SINGLE_FIELD,
00054 SFieldTraits::getScanAsTypeSF());
00055 #else
00056 template <class FieldTypeT, Int32 fieldNameSpace>
00057 const FieldType SField<FieldTypeT, fieldNameSpace>::_fieldType(
00058 SFieldTraits::getSName(),
00059 SFieldTraits::getPName(),
00060 SFieldTraits::getType (),
00061 SField<FieldTypeT, fieldNameSpace>::create,
00062 FieldType ::SINGLE_FIELD,
00063 SFieldTraits::getScanAsTypeSF());
00064 #endif
00065
00066 template <class FieldTypeT, Int32 fieldNameSpace> inline
00067 const FieldType &SField<FieldTypeT, fieldNameSpace>::getClassType(void)
00068 {
00069 return _fieldType;
00070 }
00071
00072 template <class FieldTypeT, Int32 fieldNameSpace> inline
00073 const FieldType &SField<FieldTypeT, fieldNameSpace>::getType(void) const
00074 {
00075 return _fieldType;
00076 }
00077 #endif
00078
00079 OSG_END_NAMESPACE
00080
00081 #define OSGSFIELDTYPEDEF_INLINE_CVSID "@(#)$Id: $"