source: Sophya/trunk/ArchTOIPipe/Kernel/asciitoiwtr.h@ 1370

Last change on this file since 1370 was 1370, checked in by aubourg, 25 years ago

flag handling

File size: 490 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>
9
10class 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
20private:
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.