Rev | Line | |
---|
[1368] | 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 |
|
---|
| 10 | class ASCIITOIWriter : public TOIProcessor {
|
---|
| 11 | public:
|
---|
| 12 | ASCIITOIWriter(string fn);
|
---|
| 13 | ~ASCIITOIWriter();
|
---|
| 14 |
|
---|
| 15 | virtual void addInput(string name, TOI* toi);
|
---|
| 16 |
|
---|
| 17 | virtual void run();
|
---|
| 18 |
|
---|
| 19 | private:
|
---|
| 20 | string fname;
|
---|
| 21 | ofstream s;
|
---|
| 22 | vector<TOI*> fwinputs;
|
---|
| 23 | };
|
---|
| 24 |
|
---|
| 25 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.