source: Sophya/trunk/SophyaExt/FitsIOServer/fitsspherehealpix.h@ 855

Last change on this file since 855 was 854, checked in by ansari, 25 years ago

Adaptation s SphereHEALPix et deplacement SkyMap/fitsspherehealpix ici

Reza 10/4/2000

File size: 1.1 KB
Line 
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
13namespace SOPHYA {
14///////////////////////////////////////////////////////////////////////
15// ------------- Classe pour la gestion de persistance I/O format fits--
16// spherehealpix
17//////////////////////////////////////////////////////////////////////
18template <class T>
19class FITS_SphereHEALPix : public FitsFile
20{
21public:
22
23FITS_SphereHEALPix();
24FITS_SphereHEALPix(char inputfile[],int hdunum=2);
25FITS_SphereHEALPix(const SphereHEALPix<T>& obj);
26FITS_SphereHEALPix(SphereHEALPix<T>* obj);
27virtual ~FITS_SphereHEALPix();
28virtual AnyDataObj* DataObj();
29
30inline operator SphereHEALPix<T>() { return(*dobj_); }
31void Write(char outputfile[], int hdunum=2);
32
33protected:
34
35virtual void ReadFromFits(const FitsFile& fn);
36virtual void WriteToFits(const FitsFile& fn);
37void WriteTo (FitsFile& fn);
38SphereHEALPix<T>* dobj_;
39bool ownobj;
40};
41
42
43//////////////////////////////////////////////////////////////////
44
45
46} // Fin du namespace
47
48#endif
Note: See TracBrowser for help on using the repository browser.