Changeset 3836 in Sophya
- Timestamp:
- Aug 5, 2010, 3:23:35 PM (15 years ago)
- Location:
- trunk/SophyaLib
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/NTools/cimage.cc
r3667 r3836 8 8 #include <stdlib.h> 9 9 #include "pexceptions.h" 10 #include "cimage.h"11 10 #include "datatype.h" 12 11 #include <typeinfo> 12 13 #define CIMAGE_CC_BFILE // avoid extern template declarations 14 #include "cimage.h" 13 15 14 16 /*! -
trunk/SophyaLib/NTools/cimage.h
r3189 r3836 138 138 }; 139 139 140 141 //--------- extern template declarations (if needed) ----------- 142 #if defined ( NEED_EXT_DECL_TEMP ) && !defined( CIMAGE_CC_BFILE ) 143 extern template class Image<uint_1>; 144 extern template class Image<uint_2>; 145 extern template class Image<uint_4>; 146 extern template class Image<uint_8>; 147 extern template class Image<int_1>; 148 extern template class Image<int_2>; 149 extern template class Image<int_4>; 150 extern template class Image<int_8>; 151 extern template class Image<r_4>; 152 extern template class Image<r_8>; 153 extern template class Image< complex<r_4> >; 154 extern template class Image< complex<r_8> >; 155 #endif // Fin de if defined ( NEED_EXT_DECL_TEMP ) 156 140 157 } // End of namespace SOPHYA 141 158 -
trunk/SophyaLib/SkyMap/localmap.cc
r3572 r3836 1 1 #include "sopnamsp.h" 2 #include "localmap.h"3 2 #include "smathconst.h" 4 3 #include <complex> 5 4 #include "fiondblock.h" 5 6 #define LOCALMAP_CC_BFILE // avoid extern template declarations 7 #include "localmap.h" 6 8 7 9 #include <string.h> -
trunk/SophyaLib/SkyMap/localmap.h
r3174 r3836 352 352 return result; } 353 353 354 //--------- extern template declarations (if needed) ----------- 355 #if defined ( NEED_EXT_DECL_TEMP ) && !defined( LOCALMAP_CC_BFILE ) 356 extern template class LocalMap<int_4>; 357 extern template class LocalMap<r_8>; 358 extern template class LocalMap<r_4>; 359 extern template class LocalMap< complex<r_8> >; 360 extern template class LocalMap< complex<r_4> >; 361 #endif // Fin de if defined ( NEED_EXT_DECL_TEMP ) 362 354 363 355 364 -
trunk/SophyaLib/SkyMap/sphereecp.cc
r3515 r3836 1 1 #include "sopnamsp.h" 2 #include <math.h> 3 4 #define SPHEREECP_CC_BFILE // avoid extern template declarations 2 5 #include "sphereecp.h" 3 #include <math.h>4 6 5 7 /*! -
trunk/SophyaLib/SkyMap/sphereecp.h
r3506 r3836 161 161 }; 162 162 163 //--------- extern template declarations (if needed) ----------- 164 #if defined ( NEED_EXT_DECL_TEMP ) && !defined( SPHEREECP_CC_BFILE ) 165 extern template class SphereECP<int_4>; 166 extern template class SphereECP<r_4>; 167 extern template class SphereECP<r_8>; 168 extern template class SphereECP< complex<r_4> >; 169 extern template class SphereECP< complex<r_8> >; 170 #endif // Fin de if defined ( NEED_EXT_DECL_TEMP ) 171 163 172 164 173 }// Fin du namespace -
trunk/SophyaLib/SkyMap/spherehealpix.cc
r3572 r3836 6 6 #include "pexceptions.h" 7 7 #include "fiondblock.h" 8 #include "strutil.h" 9 10 #define SPHEREHEALPIX_CC_BFILE // avoid extern template declarations 8 11 #include "spherehealpix.h" 9 #include "strutil.h"10 12 11 13 extern "C" -
trunk/SophyaLib/SkyMap/spherehealpix.h
r3174 r3836 306 306 return result; } 307 307 308 //--------- extern template declarations (if needed) ----------- 309 #if defined ( NEED_EXT_DECL_TEMP ) && !defined( SPHEREHEALPIX_CC_BFILE ) 310 extern template class SphereHEALPix<uint_2>; 311 extern template class SphereHEALPix<int_4>; 312 extern template class SphereHEALPix<r_8>; 313 extern template class SphereHEALPix<r_4>; 314 extern template class SphereHEALPix< complex<r_4> >; 315 extern template class SphereHEALPix< complex<r_8> >; 316 #endif // Fin de if defined ( NEED_EXT_DECL_TEMP ) 317 308 318 } // Fin du namespace 309 319 -
trunk/SophyaLib/SkyMap/spherethetaphi.cc
r3572 r3836 1 1 #include "sopnamsp.h" 2 #include "spherethetaphi.h"3 2 #include "smathconst.h" 4 3 #include <complex> 5 4 #include "fiondblock.h" 6 5 #include <iostream> 6 7 #define SPHERETHETAPHI_CC_BFILE // avoid extern template declarations 8 #include "spherethetaphi.h" 7 9 8 10 -
trunk/SophyaLib/SkyMap/spherethetaphi.h
r3174 r3836 315 315 316 316 317 //--------- extern template declarations (if needed) ----------- 318 #if defined ( NEED_EXT_DECL_TEMP ) && !defined( SPHERETHETAPHI_CC_BFILE ) 319 extern template class SphereThetaPhi<int_4>; 320 extern template class SphereThetaPhi<r_8>; 321 extern template class SphereThetaPhi<r_4>; 322 extern template class SphereThetaPhi< complex<r_4> >; 323 extern template class SphereThetaPhi< complex<r_8> >; 324 #endif // Fin de if defined ( NEED_EXT_DECL_TEMP ) 325 317 326 } // Fin du namespace 318 327
Note:
See TracChangeset
for help on using the changeset viewer.