Line | |
---|
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 setOutFlags(bool yn = true);
|
---|
21 |
|
---|
22 | //virtual void init();
|
---|
23 | virtual void run();
|
---|
24 |
|
---|
25 | private:
|
---|
26 | string fname;
|
---|
27 | fitsfile *fptr;
|
---|
28 | int fstatus;
|
---|
29 | vector<TOI*> fwinputs;
|
---|
30 | bool outFlags;
|
---|
31 | };
|
---|
32 |
|
---|
33 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.