| 
            Last change
 on this file since 1518 was             1439, checked in by ansari, 25 years ago           | 
        
        
          
            
Correction bugs, protections, ameliorations - Reza 13/3/2001 
 
 
           | 
        
        
          | 
            File size:
            568 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 | 
 | 
|---|
| 13 | class FITSTOIWriter : public TOIProcessor {
 | 
|---|
| 14 | public:
 | 
|---|
| 15 |   FITSTOIWriter(string fn);
 | 
|---|
| 16 |   ~FITSTOIWriter();
 | 
|---|
| 17 |   
 | 
|---|
| 18 |   virtual void afterinit();
 | 
|---|
| 19 | 
 | 
|---|
| 20 |   virtual void  addInput(string name, TOI* toi);
 | 
|---|
| 21 | 
 | 
|---|
| 22 |   virtual void  setOutFlags(bool yn = true);
 | 
|---|
| 23 | 
 | 
|---|
| 24 |   virtual void  run();  
 | 
|---|
| 25 |   
 | 
|---|
| 26 | private:
 | 
|---|
| 27 |   string fname;
 | 
|---|
| 28 |   fitsfile *fptr;
 | 
|---|
| 29 |   int fstatus;
 | 
|---|
| 30 |   vector<TOI*> fwinputs;
 | 
|---|
| 31 |   bool outFlags;
 | 
|---|
| 32 | };
 | 
|---|
| 33 | 
 | 
|---|
| 34 | #endif
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.