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

Last change on this file since 1754 was 1754, checked in by aubourg, 24 years ago

iostream pour magique...

File size: 758 bytes
Line 
1// This may look like C code, but it is really -*- C++ -*-
2
3// ArchTOIPipe (C) CEA/DAPNIA/SPP IN2P3/LAL
4// Eric Aubourg
5// Christophe Magneville
6// Reza Ansari
7// $Id: asciitoiwtr.h,v 1.5 2001-11-13 15:05:41 aubourg Exp $
8
9
10#ifndef ASCIITOIWTR_H
11#define ASCIITOIWTR_H
12
13#include "toi.h"
14#include "toiprocessor.h"
15#include <fstream>
16
17class ASCIITOIWriter : public TOIProcessor {
18 public:
19 ASCIITOIWriter(string fn);
20 ~ASCIITOIWriter();
21
22 virtual void addInput(string name, TOI* toi);
23 virtual void setOutFlags(bool yn = true);
24
25 virtual void run();
26
27private:
28 string fname;
29 ofstream s;
30 vector<TOI*> fwinputs;
31 bool outFlags;
32};
33
34#endif
Note: See TracBrowser for help on using the repository browser.