source: Sophya/trunk/ArchTOIPipe/Kernel/fitstoiwtr.h@ 1369

Last change on this file since 1369 was 1369, checked in by aubourg, 25 years ago

flag handling

File size: 567 bytes
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
13class FITSTOIWriter : public TOIProcessor {
14public:
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
25private:
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.