Rev | Line | |
---|
[1365] | 1 | // This may look like C code, but it is really -*- C++ -*-
|
---|
| 2 |
|
---|
| 3 | #ifndef FITSTOIWTR_H
|
---|
| 4 | #define FITSTOIWTR_H
|
---|
| 5 |
|
---|
| 6 | #include "toi.h"
|
---|
| 7 | #include "toiprocessor.h"
|
---|
| 8 | #include <string>
|
---|
| 9 | #include <map>
|
---|
| 10 | #include "fitsio.h"
|
---|
| 11 |
|
---|
| 12 |
|
---|
| 13 | class FITSTOIWriter : public TOIProcessor {
|
---|
| 14 | public:
|
---|
| 15 | FITSTOIWriter(string fn);
|
---|
| 16 | ~FITSTOIWriter();
|
---|
| 17 |
|
---|
| 18 | virtual void addInput(string name, TOI* toi);
|
---|
| 19 |
|
---|
| 20 | //virtual void init();
|
---|
| 21 | virtual void run();
|
---|
| 22 |
|
---|
| 23 | private:
|
---|
| 24 | string fname;
|
---|
| 25 | fitsfile *fptr;
|
---|
| 26 | int fstatus;
|
---|
| 27 | vector<TOI*> fwinputs;
|
---|
| 28 |
|
---|
| 29 | };
|
---|
| 30 |
|
---|
| 31 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.