source: Sophya/trunk/SophyaLib/SkyMap/fiospherehealpix.h@ 852

Last change on this file since 852 was 842, checked in by ansari, 25 years ago

FIO premiere version

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
18namespace SOPHYA {
19
20
21template <class T>
22class FIO_SphereHealpix : public PPersist
23{
24public:
25
26FIO_SphereHealpix();
27FIO_SphereHealpix(string const & filename);
28FIO_SphereHealpix(const SphereHealpix<T>& obj);
29FIO_SphereHealpix(SphereHealpix<T>* obj);
30virtual ~FIO_SphereHealpix();
31virtual AnyDataObj* DataObj();
32virtual void SetDataObj(AnyDataObj & o);
33inline operator SphereHealpix<T>() { return(*dobj_); }
34
35protected :
36
37virtual void ReadSelf(PInPersist&);
38virtual void WriteSelf(POutPersist&) const;
39SphereHealpix<T>* dobj_;
40bool ownobj;
41};
42
43} // Fin du namespace
44
45#endif
Note: See TracBrowser for help on using the repository browser.