source: Sophya/trunk/Poubelle/archTOI.old/archtoi.h@ 345

Last change on this file since 345 was 342, checked in by ansari, 26 years ago

archtoi 2 aout 99

File size: 760 bytes
RevLine 
[342]1#ifndef ARCHTOI_H
2#define ARCHTOI_H
3
4#include <iostream.h>
5#include <string>
6#include <list>
7#include <vector>
8#include "toisvr.h"
9
10using namespace std;
11
12class ArchTOI {
13public:
14 ArchTOI(istream& str);
15 ArchTOI(string const& filename);
16
17 void run(ostream& str);
18 void run(string const& filename);
19
20 enum fmt {ascii};
21 enum flg {hasflag = 1,
22 useNA = 2};
23
24protected:
25 void init();
26 void readReq(istream& str);
27 bool processOption(string line); // false when #END : stop processing...
28 void processTOIReq(string line);
29 TOISvr svr;
30 list<string> headertoi;
31 list<string> headeropt;
32 vector<flg> toiflags;
33 fmt format;
34 string undef;
35 bool allBolos; // tous les bolos dans le header. Sinon seulement bolos transmis.
36};
37
38#endif
Note: See TracBrowser for help on using the repository browser.