| 
            Last change
 on this file since 1450 was             1410, checked in by ansari, 25 years ago           | 
        
        
          | 
             
changement include xstream en xstream.h et suppression de variables re-declarees pour compil avec SGI-CC  , Reza 20/2/2001 
 
           | 
        
        
          | 
            File size:
            492 bytes
           | 
        
      
      
| 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.h>
 | 
|---|
| 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.