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