Changeset 2344 in Sophya


Ignore:
Timestamp:
Mar 10, 2003, 4:13:49 PM (23 years ago)
Author:
ansari
Message:

Compilation (fin ?) avec SGI-CC -LANG:std - Reza 10/03/2003

Location:
trunk/SophyaLib
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/BaseTools/datatype.cc

    r2339 r2344  
    1212{
    1313}
    14 /*
    1514#if defined(__SGICC__)
    1615template <class T>
    17 string DataTypeInfo<T>::getTypeName() 
    18 { 
    19   if (typeid(T) == typeid(uint_1)) return("uint_1"); 
     16string DataTypeInfo<T>::getTypeName()
     17{
     18  if (typeid(T) == typeid(uint_1)) return("uint_1");
    2019  else if (typeid(T) == typeid(uint_2)) return("uint_2");
    2120  else if (typeid(T) == typeid(int_2)) return("int_2");
     
    3130}
    3231#else
    33 */
    34 DECL_TEMP_SPEC  /* equivalent a template <> , pour SGI-CC en particulier */
     32template <class T>
     33string DataTypeInfo<T>::getTypeName() { return("???unknowntype???"); }
    3534string DataTypeInfo<uint_1>::getTypeName() { return("uint_1"); }
    36 DECL_TEMP_SPEC
    3735string DataTypeInfo<uint_2>::getTypeName() { return("uint_2"); }
    38 DECL_TEMP_SPEC
    3936string DataTypeInfo<int_2>::getTypeName() { return("int_2"); }
    40 DECL_TEMP_SPEC
    4137string DataTypeInfo<int_4>::getTypeName() { return("int_4"); }
    42 DECL_TEMP_SPEC
    4338string DataTypeInfo<int_8>::getTypeName() { return("int_8"); }
    44 DECL_TEMP_SPEC
    4539string DataTypeInfo<uint_4>::getTypeName() { return("uint_4"); }
    46 DECL_TEMP_SPEC
    4740string DataTypeInfo<uint_8>::getTypeName() { return("uint_8"); }
    48 DECL_TEMP_SPEC
    4941string DataTypeInfo<r_4>::getTypeName() { return("r_4"); }
    50 DECL_TEMP_SPEC
    5142string DataTypeInfo<r_8>::getTypeName() { return("r_8"); }
    52 DECL_TEMP_SPEC
    5343string DataTypeInfo< complex<r_4> >::getTypeName() { return(" complex<r_4> "); }
    54 DECL_TEMP_SPEC
    5544string DataTypeInfo< complex<r_8> >::getTypeName() { return(" complex<r_8> "); }
    56 /*
    5745#endif
    58 */
     46
    5947
    6048string DecodeGCCTypeName(string gcctype)
  • trunk/SophyaLib/BaseTools/sversion.h

    r2323 r2344  
    33
    44#define SOPHYA_VERSION   1.6
    5 #define SOPHYA_REVISION  00
     5#define SOPHYA_REVISION  02
    66#define SOPHYA_TAG       "V_Fev2003"
    77
  • trunk/SophyaLib/NTools/fftservintf.cc

    r2334 r2344  
    253253}
    254254
    255 #if defined(__SGICC__)
    256 template <>
    257 #endif
     255DECL_TEMP_SPEC  /* equivalent a template <> , pour SGI-CC en particulier */
    258256r_8 FFTArrayChecker< r_8 >::ZeroThreshold()
    259257{
     
    261259}
    262260
    263 #if defined(__SGICC__)
    264 template <>
    265 #endif
     261DECL_TEMP_SPEC  /* equivalent a template <> , pour SGI-CC en particulier */
    266262r_4 FFTArrayChecker< r_4 >::ZeroThreshold()
    267263{
  • trunk/SophyaLib/NTools/generaldata.cc

    r2340 r2344  
    10611061
    10621062
    1063 #if defined(__SGICC__)
    1064 template <>
    1065 #endif
     1063DECL_TEMP_SPEC  /* equivalent a template <> , pour SGI-CC en particulier */
    10661064void ObjFileIO<GeneralFitData>::ReadSelf(PInPersist& is)
    10671065{
     
    11081106}
    11091107
    1110 #if defined(__SGICC__)
    1111 template <>
    1112 #endif
     1108DECL_TEMP_SPEC  /* equivalent a template <> , pour SGI-CC en particulier */
    11131109void ObjFileIO<GeneralFitData>::WriteSelf(POutPersist& os) const
    11141110{
  • trunk/SophyaLib/NTools/poly.cc

    r2334 r2344  
    306306//////////////////////////////////////////////////////////////////////////
    307307//! For persistance management
    308 #if defined(__SGICC__)
    309 template <>
    310 #endif
     308DECL_TEMP_SPEC  /* equivalent a template <> , pour SGI-CC en particulier */
    311309void ObjFileIO<Poly>::ReadSelf(PInPersist& is)
    312310{
     
    320318
    321319//! For persistance management
    322 #if defined(__SGICC__)
    323 template <>
    324 #endif
     320DECL_TEMP_SPEC  /* equivalent a template <> , pour SGI-CC en particulier */
    325321void ObjFileIO<Poly>::WriteSelf(POutPersist& os) const
    326322{
     
    771767//////////////////////////////////////////////////////////////////////////
    772768//! For persistance management
    773 #if defined(__SGICC__)
    774 template <>
    775 #endif
     769DECL_TEMP_SPEC  /* equivalent a template <> , pour SGI-CC en particulier */
    776770void ObjFileIO<Poly2>::ReadSelf(PInPersist& is)
    777771{
     
    785779
    786780//! For persistance management
    787 #if defined(__SGICC__)
    788 template <>
    789 #endif
     781DECL_TEMP_SPEC  /* equivalent a template <> , pour SGI-CC en particulier */
    790782void ObjFileIO<Poly2>::WriteSelf(POutPersist& os) const
    791783{
  • trunk/SophyaLib/SkyT/gaussfilt.cc

    r2322 r2344  
    11//--------------------------------------------------------------------------
    22// File and Version Information:
    3 //      $Id: gaussfilt.cc,v 1.7 2003-02-11 15:31:07 cmv Exp $
     3//      $Id: gaussfilt.cc,v 1.8 2003-03-10 15:13:49 ansari Exp $
    44//
    55// Description:
     
    104104}
    105105
     106DECL_TEMP_SPEC  /* equivalent a template <> , pour SGI-CC en particulier */
    106107void
    107108ObjFileIO<GaussianFilter>::WriteSelf(POutPersist& s) const
     
    125126}
    126127
     128DECL_TEMP_SPEC  /* equivalent a template <> , pour SGI-CC en particulier */
    127129void
    128130ObjFileIO<GaussianFilter>::ReadSelf(PInPersist& s) 
  • trunk/SophyaLib/SkyT/specrespvector.cc

    r2322 r2344  
    11//--------------------------------------------------------------------------
    22// File and Version Information:
    3 //      $Id: specrespvector.cc,v 1.9 2003-02-11 15:31:07 cmv Exp $
     3//      $Id: specrespvector.cc,v 1.10 2003-03-10 15:13:49 ansari Exp $
    44//
    55// Description:
     
    124124
    125125
     126DECL_TEMP_SPEC  /* equivalent a template <> , pour SGI-CC en particulier */
    126127void
    127128ObjFileIO<SpecRespVec>::WriteSelf(POutPersist& s) const
     
    152153}
    153154
     155DECL_TEMP_SPEC  /* equivalent a template <> , pour SGI-CC en particulier */
    154156void
    155157ObjFileIO<SpecRespVec>::ReadSelf(PInPersist& s)
Note: See TracChangeset for help on using the changeset viewer.