Changeset 921 in Sophya for trunk/SophyaExt/FitsIOServer/fitsspherehealpix.cc
- Timestamp:
- Apr 13, 2000, 6:56:53 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/fitsspherehealpix.cc
r910 r921 28 28 } 29 29 30 template <class T>31 void FITS_SphereHEALPix<T>::Write(char outputfile[],int hdunum)32 {33 WriteF(outputfile, hdunum);34 }35 30 36 31 template <class T> … … 62 57 63 58 template <class T> 59 void FITS_SphereHEALPix<T>::SetDataObj(AnyDataObj & o) 60 { 61 SphereHEALPix<T> * po = dynamic_cast< SphereHEALPix<T> * >(&o); 62 if (po == NULL) return; 63 if (ownobj && dobj_) delete dobj_; 64 dobj_ = po; 65 ownobj = false; 66 } 67 68 69 70 template <class T> 71 void FITS_SphereHEALPix<T>::Write(char outputfile[],int hdunum) 72 { 73 WriteF(outputfile, hdunum); 74 } 75 template <class T> 76 void FITS_SphereHEALPix<T>::Read(char inputfile[],int hdunum) 77 { 78 ReadF(inputfile,hdunum); 79 } 80 81 template <class T> 64 82 void FITS_SphereHEALPix<T>::WriteToFits(const FitsFile& fn) 65 83 { 66 84 if(dobj_ == NULL) 67 85 { 68 cout << " WriteTo :: dobj_= null " << endl;86 cout << " WriteToFits:: dobj_= null " << endl; 69 87 return; 70 88 } … … 89 107 90 108 // On ecrit les dataBlocks 91 // fn.put_fits_bintab(dobj_->pixels_,dvl);92 109 char** Noms = new char*[1]; 93 110 Noms[0]= new char[15];
Note:
See TracChangeset
for help on using the changeset viewer.