Changeset 3035 in Sophya for trunk/SophyaExt
- Timestamp:
- Jul 18, 2006, 10:56:33 AM (19 years ago)
- Location:
- trunk/SophyaExt/FitsIOServer
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/fitslocalmap.h
r2897 r3035 47 47 48 48 template <class T> 49 inline Fits OutFile& operator << (FitsOutFile& fios, LocalMap<T> & lm)49 inline FitsInOutFile& operator << (FitsInOutFile& fios, LocalMap<T> & lm) 50 50 { FITS_LocalMap<T> fih(&lm); fih.Write(fios); return (fios); } 51 51 52 52 template <class T> 53 inline FitsIn File& operator >> (FitsInFile& fiis, LocalMap<T> & lm)53 inline FitsInOutFile& operator >> (FitsInOutFile& fiis, LocalMap<T> & lm) 54 54 { FITS_LocalMap<T> fih(&lm); fih.Read(fiis); return (fiis); } 55 55 -
trunk/SophyaExt/FitsIOServer/fitsntuple.h
r2897 r3035 77 77 ////////////////////////////////////////////////////////////////// 78 78 79 inline Fits OutFile& operator << (FitsOutFile& fios, NTuple & nt)79 inline FitsInOutFile& operator << (FitsInOutFile& fios, NTuple & nt) 80 80 { FITS_NTuple fih(&nt); fih.Write(fios); return (fios); } 81 81 82 inline FitsIn File& operator >> (FitsInFile& fiis, NTuple & nt)82 inline FitsInOutFile& operator >> (FitsInOutFile& fiis, NTuple & nt) 83 83 { FITS_NTuple fih(&nt); fih.Read(fiis); return (fiis); } 84 84 -
trunk/SophyaExt/FitsIOServer/fitsspherehealpix.h
r2897 r3035 51 51 52 52 template <class T> 53 inline Fits OutFile& operator << (FitsOutFile& fios, SphereHEALPix<T> & sph)53 inline FitsInOutFile& operator << (FitsInOutFile& fios, SphereHEALPix<T> & sph) 54 54 { FITS_SphereHEALPix<T> fih(&sph); fih.Write(fios); return (fios); } 55 55 56 56 template <class T> 57 inline FitsIn File& operator >> (FitsInFile& fiis, SphereHEALPix<T> & sph)57 inline FitsInOutFile& operator >> (FitsInOutFile& fiis, SphereHEALPix<T> & sph) 58 58 { FITS_SphereHEALPix<T> fih(&sph); fih.Read(fiis); return (fiis); } 59 59 -
trunk/SophyaExt/FitsIOServer/fitsspherethetaphi.h
r2897 r3035 53 53 54 54 template <class T> 55 inline Fits OutFile& operator << (FitsOutFile& fios, SphereThetaPhi<T> & sph)55 inline FitsInOutFile& operator << (FitsInOutFile& fios, SphereThetaPhi<T> & sph) 56 56 { FITS_SphereThetaPhi<T> fih(&sph); fih.Write(fios); return (fios); } 57 57 58 58 template <class T> 59 inline FitsIn File& operator >> (FitsInFile& fiis, SphereThetaPhi<T> & sph)59 inline FitsInOutFile& operator >> (FitsInOutFile& fiis, SphereThetaPhi<T> & sph) 60 60 { FITS_SphereThetaPhi<T> fih(&sph); fih.Read(fiis); return (fiis); } 61 61
Note:
See TracChangeset
for help on using the changeset viewer.