| Line |  | 
|---|
| 1 | // This may look like C code, but it is really -*- C++ -*- | 
|---|
| 2 |  | 
|---|
| 3 | #ifndef ASCIITOIWTR_H | 
|---|
| 4 | #define ASCIITOIWTR_H | 
|---|
| 5 |  | 
|---|
| 6 | #include "toi.h" | 
|---|
| 7 | #include "toiprocessor.h" | 
|---|
| 8 | #include <fstream> | 
|---|
| 9 |  | 
|---|
| 10 | class ASCIITOIWriter : public TOIProcessor { | 
|---|
| 11 | public: | 
|---|
| 12 | ASCIITOIWriter(string fn); | 
|---|
| 13 | ~ASCIITOIWriter(); | 
|---|
| 14 |  | 
|---|
| 15 | virtual void  addInput(string name, TOI* toi); | 
|---|
| 16 | virtual void  setOutFlags(bool yn = true); | 
|---|
| 17 |  | 
|---|
| 18 | virtual void  run(); | 
|---|
| 19 |  | 
|---|
| 20 | private: | 
|---|
| 21 | string fname; | 
|---|
| 22 | ofstream s; | 
|---|
| 23 | vector<TOI*> fwinputs; | 
|---|
| 24 | bool outFlags; | 
|---|
| 25 | }; | 
|---|
| 26 |  | 
|---|
| 27 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.