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

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

Gestion TRANGE, MJD0, PERECH....

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