Changeset 2082 in Sophya for trunk/SophyaExt/FitsIOServer
- Timestamp:
- Jul 3, 2002, 3:29:50 PM (23 years ago)
- Location:
- trunk/SophyaExt/FitsIOServer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/fitsspherehealpix.cc
r1703 r2082 37 37 FITS_SphereHEALPix<T>::FITS_SphereHEALPix(const SphereHEALPix<T>& obj) 38 38 { 39 39 dobj_= new SphereHEALPix<T>(obj); 40 40 ownobj_= true; 41 41 } … … 111 111 string Type; 112 112 if (typeid(T) == typeid(r_8) ) Type+='D'; 113 else 114 if (typeid(T) == typeid(r_4) ) Type+='E';113 else if (typeid(T) == typeid(r_4) ) Type+='E'; 114 else if (typeid(T) == typeid(int_4) ) Type+='J'; 115 115 else 116 116 { 117 cout << " type de la sphere= " << typeid(T).name() << endl; 118 throw IOExc("FITS_SphereHEALPix:: unknown type"); 117 cout << "FITS_SphereHEALPix<T>::WriteToFits()- Unsupported data type (" 118 << typeid(T).name() << ") throwing IOExc " << endl; 119 throw IOExc("FITS_SphereHEALPix<T>::WriteToFits() unsupported data type"); 119 120 } 120 121 vector<int> dummy; -
trunk/SophyaExt/FitsIOServer/fitsspherethetaphi.cc
r1752 r2082 111 111 string Type; 112 112 if (typeid(T) == typeid(r_8) ) Type+='D'; 113 else 114 if (typeid(T) == typeid(r_4) ) Type+='E';113 else if (typeid(T) == typeid(r_4) ) Type+='E'; 114 else if (typeid(T) == typeid(int_4) ) Type+='J'; 115 115 else 116 116 { 117 cout << " type de la sphere= " << typeid(T).name() << endl; 118 throw IOExc("FITS_SphereThetaPhi:: unknown type"); 117 cout << "FITS_SphereThetaPhi<T>::WriteToFits - Unsupported data type (" 118 << typeid(T).name() << ") throwing IOExc " << endl; 119 throw IOExc("FITS_SphereThetaPhi<T>::WriteToFits() unsupported data type"); 119 120 } 120 121
Note:
See TracChangeset
for help on using the changeset viewer.