|
Last change
on this file since 1342 was 853, checked in by ansari, 26 years ago |
Passage SphereHealpix a SphereHEALPix , FITS_SphereHEALPix mis ds FitsIOServer
- Ansari 10/4/2000
|
|
File size:
883 bytes
|
| Line | |
|---|
| 1 | // G. Le Meur 04/2000
|
|---|
| 2 |
|
|---|
| 3 | #ifndef FIOSPHEREHEALPIX_SEEN
|
|---|
| 4 | #define FIOSPHEREHEALPIX_SEEN
|
|---|
| 5 | #include "sphericalmap.h"
|
|---|
| 6 | #include "tvector.h"
|
|---|
| 7 | #include "ndatablock.h"
|
|---|
| 8 | #include "spherehealpix.h"
|
|---|
| 9 |
|
|---|
| 10 | #include "anydataobj.h"
|
|---|
| 11 | #include "ppersist.h"
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 | //
|
|---|
| 15 | // ------------- Classes pour la gestion de persistance --
|
|---|
| 16 | //
|
|---|
| 17 |
|
|---|
| 18 | namespace SOPHYA {
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 | template <class T>
|
|---|
| 22 | class FIO_SphereHEALPix : public PPersist
|
|---|
| 23 | {
|
|---|
| 24 | public:
|
|---|
| 25 |
|
|---|
| 26 | FIO_SphereHEALPix();
|
|---|
| 27 | FIO_SphereHEALPix(string const & filename);
|
|---|
| 28 | FIO_SphereHEALPix(const SphereHEALPix<T>& obj);
|
|---|
| 29 | FIO_SphereHEALPix(SphereHEALPix<T>* obj);
|
|---|
| 30 | virtual ~FIO_SphereHEALPix();
|
|---|
| 31 | virtual AnyDataObj* DataObj();
|
|---|
| 32 | virtual void SetDataObj(AnyDataObj & o);
|
|---|
| 33 | inline operator SphereHEALPix<T>() { return(*dobj_); }
|
|---|
| 34 |
|
|---|
| 35 | protected :
|
|---|
| 36 |
|
|---|
| 37 | virtual void ReadSelf(PInPersist&);
|
|---|
| 38 | virtual void WriteSelf(POutPersist&) const;
|
|---|
| 39 | SphereHEALPix<T>* dobj_;
|
|---|
| 40 | bool ownobj;
|
|---|
| 41 | };
|
|---|
| 42 |
|
|---|
| 43 | } // Fin du namespace
|
|---|
| 44 |
|
|---|
| 45 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.