Changeset 2344 in Sophya
- Timestamp:
- Mar 10, 2003, 4:13:49 PM (23 years ago)
- Location:
- trunk/SophyaLib
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/BaseTools/datatype.cc
r2339 r2344 12 12 { 13 13 } 14 /*15 14 #if defined(__SGICC__) 16 15 template <class T> 17 string DataTypeInfo<T>::getTypeName() 18 { 19 if (typeid(T) == typeid(uint_1)) return("uint_1"); 16 string DataTypeInfo<T>::getTypeName() 17 { 18 if (typeid(T) == typeid(uint_1)) return("uint_1"); 20 19 else if (typeid(T) == typeid(uint_2)) return("uint_2"); 21 20 else if (typeid(T) == typeid(int_2)) return("int_2"); … … 31 30 } 32 31 #else 33 */ 34 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */ 32 template <class T> 33 string DataTypeInfo<T>::getTypeName() { return("???unknowntype???"); } 35 34 string DataTypeInfo<uint_1>::getTypeName() { return("uint_1"); } 36 DECL_TEMP_SPEC37 35 string DataTypeInfo<uint_2>::getTypeName() { return("uint_2"); } 38 DECL_TEMP_SPEC39 36 string DataTypeInfo<int_2>::getTypeName() { return("int_2"); } 40 DECL_TEMP_SPEC41 37 string DataTypeInfo<int_4>::getTypeName() { return("int_4"); } 42 DECL_TEMP_SPEC43 38 string DataTypeInfo<int_8>::getTypeName() { return("int_8"); } 44 DECL_TEMP_SPEC45 39 string DataTypeInfo<uint_4>::getTypeName() { return("uint_4"); } 46 DECL_TEMP_SPEC47 40 string DataTypeInfo<uint_8>::getTypeName() { return("uint_8"); } 48 DECL_TEMP_SPEC49 41 string DataTypeInfo<r_4>::getTypeName() { return("r_4"); } 50 DECL_TEMP_SPEC51 42 string DataTypeInfo<r_8>::getTypeName() { return("r_8"); } 52 DECL_TEMP_SPEC53 43 string DataTypeInfo< complex<r_4> >::getTypeName() { return(" complex<r_4> "); } 54 DECL_TEMP_SPEC55 44 string DataTypeInfo< complex<r_8> >::getTypeName() { return(" complex<r_8> "); } 56 /*57 45 #endif 58 */ 46 59 47 60 48 string DecodeGCCTypeName(string gcctype) -
trunk/SophyaLib/BaseTools/sversion.h
r2323 r2344 3 3 4 4 #define SOPHYA_VERSION 1.6 5 #define SOPHYA_REVISION 0 05 #define SOPHYA_REVISION 02 6 6 #define SOPHYA_TAG "V_Fev2003" 7 7 -
trunk/SophyaLib/NTools/fftservintf.cc
r2334 r2344 253 253 } 254 254 255 #if defined(__SGICC__) 256 template <> 257 #endif 255 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */ 258 256 r_8 FFTArrayChecker< r_8 >::ZeroThreshold() 259 257 { … … 261 259 } 262 260 263 #if defined(__SGICC__) 264 template <> 265 #endif 261 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */ 266 262 r_4 FFTArrayChecker< r_4 >::ZeroThreshold() 267 263 { -
trunk/SophyaLib/NTools/generaldata.cc
r2340 r2344 1061 1061 1062 1062 1063 #if defined(__SGICC__) 1064 template <> 1065 #endif 1063 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */ 1066 1064 void ObjFileIO<GeneralFitData>::ReadSelf(PInPersist& is) 1067 1065 { … … 1108 1106 } 1109 1107 1110 #if defined(__SGICC__) 1111 template <> 1112 #endif 1108 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */ 1113 1109 void ObjFileIO<GeneralFitData>::WriteSelf(POutPersist& os) const 1114 1110 { -
trunk/SophyaLib/NTools/poly.cc
r2334 r2344 306 306 ////////////////////////////////////////////////////////////////////////// 307 307 //! For persistance management 308 #if defined(__SGICC__) 309 template <> 310 #endif 308 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */ 311 309 void ObjFileIO<Poly>::ReadSelf(PInPersist& is) 312 310 { … … 320 318 321 319 //! For persistance management 322 #if defined(__SGICC__) 323 template <> 324 #endif 320 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */ 325 321 void ObjFileIO<Poly>::WriteSelf(POutPersist& os) const 326 322 { … … 771 767 ////////////////////////////////////////////////////////////////////////// 772 768 //! For persistance management 773 #if defined(__SGICC__) 774 template <> 775 #endif 769 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */ 776 770 void ObjFileIO<Poly2>::ReadSelf(PInPersist& is) 777 771 { … … 785 779 786 780 //! For persistance management 787 #if defined(__SGICC__) 788 template <> 789 #endif 781 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */ 790 782 void ObjFileIO<Poly2>::WriteSelf(POutPersist& os) const 791 783 { -
trunk/SophyaLib/SkyT/gaussfilt.cc
r2322 r2344 1 1 //-------------------------------------------------------------------------- 2 2 // File and Version Information: 3 // $Id: gaussfilt.cc,v 1. 7 2003-02-11 15:31:07 cmvExp $3 // $Id: gaussfilt.cc,v 1.8 2003-03-10 15:13:49 ansari Exp $ 4 4 // 5 5 // Description: … … 104 104 } 105 105 106 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */ 106 107 void 107 108 ObjFileIO<GaussianFilter>::WriteSelf(POutPersist& s) const … … 125 126 } 126 127 128 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */ 127 129 void 128 130 ObjFileIO<GaussianFilter>::ReadSelf(PInPersist& s) -
trunk/SophyaLib/SkyT/specrespvector.cc
r2322 r2344 1 1 //-------------------------------------------------------------------------- 2 2 // File and Version Information: 3 // $Id: specrespvector.cc,v 1. 9 2003-02-11 15:31:07 cmvExp $3 // $Id: specrespvector.cc,v 1.10 2003-03-10 15:13:49 ansari Exp $ 4 4 // 5 5 // Description: … … 124 124 125 125 126 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */ 126 127 void 127 128 ObjFileIO<SpecRespVec>::WriteSelf(POutPersist& s) const … … 152 153 } 153 154 155 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */ 154 156 void 155 157 ObjFileIO<SpecRespVec>::ReadSelf(PInPersist& s)
Note:
See TracChangeset
for help on using the changeset viewer.