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

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

on rechange les include stl pour !&@@ SGI.

File size: 760 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.6 2001-11-13 15:47:25 aubourg Exp $
8
9
10#ifndef ASCIITOIWTR_H
11#define ASCIITOIWTR_H
12
13#include "toi.h"
14#include "toiprocessor.h"
15#include <fstream.h>
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.