Line | |
---|
1 | // G. Le Meur 04/2000
|
---|
2 |
|
---|
3 |
|
---|
4 |
|
---|
5 | #ifndef FIOSPHERETHETAPHI_SEEN
|
---|
6 | #define FIOSPHERETHETAPHI_SEEN
|
---|
7 | #include "sphericalmap.h"
|
---|
8 | #include "tvector.h"
|
---|
9 | #include "ndatablock.h"
|
---|
10 | #include "spherethetaphi.h"
|
---|
11 |
|
---|
12 | #include "anydataobj.h"
|
---|
13 | #include "ppersist.h"
|
---|
14 |
|
---|
15 |
|
---|
16 | //
|
---|
17 | // ------------- Classes pour la gestion de persistance --
|
---|
18 | //
|
---|
19 |
|
---|
20 | namespace SOPHYA {
|
---|
21 |
|
---|
22 | template <class T>
|
---|
23 | class FIO_SphereThetaPhi : public PPersist
|
---|
24 | {
|
---|
25 | public:
|
---|
26 |
|
---|
27 | FIO_SphereThetaPhi();
|
---|
28 | FIO_SphereThetaPhi(string const & filename);
|
---|
29 | FIO_SphereThetaPhi(const SphereThetaPhi<T>& obj);
|
---|
30 | FIO_SphereThetaPhi(SphereThetaPhi<T>* obj);
|
---|
31 | virtual ~FIO_SphereThetaPhi();
|
---|
32 | virtual AnyDataObj* DataObj();
|
---|
33 | void SetDataObj(AnyDataObj & o);
|
---|
34 | inline operator SphereThetaPhi<T>() { return(*dobj); }
|
---|
35 |
|
---|
36 | protected :
|
---|
37 |
|
---|
38 | virtual void ReadSelf(PInPersist&);
|
---|
39 | virtual void WriteSelf(POutPersist&) const;
|
---|
40 | SphereThetaPhi<T>* dobj;
|
---|
41 | bool ownobj;
|
---|
42 | };
|
---|
43 |
|
---|
44 | } // Fin du namespace
|
---|
45 |
|
---|
46 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.