Line | |
---|
1 | // Guy Le Meur 03/2000
|
---|
2 |
|
---|
3 |
|
---|
4 | #ifndef FITSNTuple_SEEN
|
---|
5 | #define FITSNTuple_SEEN
|
---|
6 | #include "ntuple.h"
|
---|
7 | #include "anydataobj.h"
|
---|
8 | #include "ppersist.h"
|
---|
9 | #include "fitsfile.h"
|
---|
10 |
|
---|
11 | namespace SOPHYA {
|
---|
12 | ///////////////////////////////////////////////////////////////////
|
---|
13 | // Classe pour la gestion de persistance sur fichiers fits
|
---|
14 | // pout NTuple
|
---|
15 | ////////////////////////////////////////////////////////////////
|
---|
16 | class FITS_NTuple : public FitsFile
|
---|
17 | {
|
---|
18 |
|
---|
19 | public:
|
---|
20 |
|
---|
21 | FITS_NTuple();
|
---|
22 | FITS_NTuple(char inputfile[],int hdunum=2);
|
---|
23 | FITS_NTuple(const NTuple & obj);
|
---|
24 | virtual ~FITS_NTuple();
|
---|
25 | void Write(char outputfile[], int hdunum=2);
|
---|
26 | inline operator NTuple() { return(*dobj_); }
|
---|
27 |
|
---|
28 | protected:
|
---|
29 |
|
---|
30 | // implementation de FitsFile
|
---|
31 | virtual void ReadFromFits(const FitsFile& fn);
|
---|
32 | virtual void WriteToFits(const FitsFile& fn);
|
---|
33 |
|
---|
34 | float* getColFromObj(int colNr);
|
---|
35 |
|
---|
36 | // attributs de classe
|
---|
37 | NTuple* dobj_;
|
---|
38 | bool ownobj;
|
---|
39 | float* column_;
|
---|
40 | };
|
---|
41 | //////////////////////////////////////////////////////////////////
|
---|
42 |
|
---|
43 |
|
---|
44 | } // Fin du namespace
|
---|
45 |
|
---|
46 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.