|
Last change
on this file since 1169 was 1136, checked in by ansari, 25 years ago |
|
structuration a la ppersist+ convention sur hdu
|
|
File size:
1.1 KB
|
| Rev | Line | |
|---|
| [854] | 1 | #ifndef FITSSPHEREHEALPIX_SEEN
|
|---|
| 2 | #define FITSSPHEREHEALPIX_SEEN
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 | // Guy Le Meur 03/2000
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 | #include "spherehealpix.h"
|
|---|
| 9 | #include "anydataobj.h"
|
|---|
| 10 | #include "ppersist.h"
|
|---|
| 11 | #include "fitsfile.h"
|
|---|
| 12 |
|
|---|
| 13 | namespace SOPHYA {
|
|---|
| 14 | ///////////////////////////////////////////////////////////////////////
|
|---|
| 15 | // ------------- Classe pour la gestion de persistance I/O format fits--
|
|---|
| 16 | // spherehealpix
|
|---|
| 17 | //////////////////////////////////////////////////////////////////////
|
|---|
| 18 | template <class T>
|
|---|
| [1136] | 19 | class FITS_SphereHEALPix : public FitsIOHandler
|
|---|
| [854] | 20 | {
|
|---|
| 21 | public:
|
|---|
| 22 |
|
|---|
| 23 | FITS_SphereHEALPix();
|
|---|
| 24 | FITS_SphereHEALPix(char inputfile[],int hdunum=2);
|
|---|
| 25 | FITS_SphereHEALPix(const SphereHEALPix<T>& obj);
|
|---|
| 26 | FITS_SphereHEALPix(SphereHEALPix<T>* obj);
|
|---|
| 27 | virtual ~FITS_SphereHEALPix();
|
|---|
| 28 | virtual AnyDataObj* DataObj();
|
|---|
| [921] | 29 | virtual void SetDataObj(AnyDataObj & o);
|
|---|
| [854] | 30 |
|
|---|
| [1011] | 31 | inline operator SphereHEALPix<T>() { return(*dobj_); }
|
|---|
| [854] | 32 |
|
|---|
| 33 | protected:
|
|---|
| 34 |
|
|---|
| [1047] | 35 | //virtual void ReadFromFits(FitsFile& fn);
|
|---|
| [1136] | 36 | virtual void ReadFromFits(FitsInFile& is);
|
|---|
| 37 | virtual void WriteToFits(FitsOutFile& os) ;
|
|---|
| [854] | 38 | SphereHEALPix<T>* dobj_;
|
|---|
| [1136] | 39 | bool ownobj_;
|
|---|
| [854] | 40 | };
|
|---|
| 41 |
|
|---|
| 42 |
|
|---|
| 43 | //////////////////////////////////////////////////////////////////
|
|---|
| 44 |
|
|---|
| 45 |
|
|---|
| 46 | } // Fin du namespace
|
|---|
| 47 |
|
|---|
| 48 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.