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

Last change on this file since 1527 was 1527, checked in by aubourg, 24 years ago

gestion des flags

File size: 644 bytes
RevLine 
[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
13class FITSTOIWriter : public TOIProcessor {
14public:
15 FITSTOIWriter(string fn);
16 ~FITSTOIWriter();
17
[1439]18 virtual void afterinit();
19
[1527]20 virtual void addInput(string name, TOI* toi, bool withFlag=false);
[1365]21
22 virtual void run();
23
24private:
25 string fname;
26 fitsfile *fptr;
27 int fstatus;
28 vector<TOI*> fwinputs;
[1527]29 int nCols;
30 map<int,pair<int, bool> > colsinput; // iTOI -> (colonne, hasflag)
31 // le flag est alors en colonne+1
[1365]32};
33
34#endif
Note: See TracBrowser for help on using the repository browser.