| 
            Last change
 on this file since 3667 was             1759, checked in by aubourg, 24 years ago           | 
        
        
          | 
             
on rechange les include stl pour !&@@ SGI. 
 
           | 
        
        
          | 
            File size:
            760 bytes
           | 
        
      
      
| Rev | Line |   | 
|---|
| [1368] | 1 | // This may look like C code, but it is really -*- C++ -*-
 | 
|---|
 | 2 | 
 | 
|---|
| [1738] | 3 | // ArchTOIPipe           (C)     CEA/DAPNIA/SPP IN2P3/LAL
 | 
|---|
 | 4 | //                               Eric Aubourg
 | 
|---|
 | 5 | //                               Christophe Magneville
 | 
|---|
 | 6 | //                               Reza Ansari
 | 
|---|
| [1759] | 7 | // $Id: asciitoiwtr.h,v 1.6 2001-11-13 15:47:25 aubourg Exp $
 | 
|---|
| [1738] | 8 | 
 | 
|---|
 | 9 | 
 | 
|---|
| [1368] | 10 | #ifndef ASCIITOIWTR_H
 | 
|---|
 | 11 | #define ASCIITOIWTR_H
 | 
|---|
 | 12 | 
 | 
|---|
 | 13 | #include "toi.h"
 | 
|---|
 | 14 | #include "toiprocessor.h"
 | 
|---|
| [1759] | 15 | #include <fstream.h>
 | 
|---|
| [1368] | 16 | 
 | 
|---|
 | 17 | class ASCIITOIWriter : public TOIProcessor {
 | 
|---|
 | 18 |  public:
 | 
|---|
 | 19 |   ASCIITOIWriter(string fn);
 | 
|---|
 | 20 |   ~ASCIITOIWriter();
 | 
|---|
 | 21 |   
 | 
|---|
 | 22 |   virtual void  addInput(string name, TOI* toi);
 | 
|---|
| [1370] | 23 |   virtual void  setOutFlags(bool yn = true);
 | 
|---|
| [1368] | 24 | 
 | 
|---|
 | 25 |   virtual void  run();  
 | 
|---|
 | 26 |   
 | 
|---|
 | 27 | private:
 | 
|---|
 | 28 |   string fname;
 | 
|---|
 | 29 |   ofstream s;
 | 
|---|
 | 30 |   vector<TOI*> fwinputs;
 | 
|---|
| [1370] | 31 |   bool outFlags;
 | 
|---|
| [1368] | 32 | };
 | 
|---|
 | 33 | 
 | 
|---|
 | 34 | #endif
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.