source: trunk/examples/novice/gemc/src/usage.h @ 893

Last change on this file since 893 was 807, checked in by garnier, 16 years ago

update

File size: 573 bytes
Line 
1
2
3
4
5
6
7
8
9#ifndef gemc_OPTIONS_H
10#define gemc_OPTIONS_H
11
12// %%%%%%%%%%%
13// C++ headers
14// %%%%%%%%%%%
15#include <iostream>
16#include <map>
17#include <vector>
18#include <string>
19#include <ctime>
20using namespace std;
21
22class opts
23{
24 public:
25   double  arg; 
26   string args; 
27   string name; 
28   string help; 
29   int    type; 
30   string ctgr; 
31};
32
33
34class gemc_opts
35{
36 public:
37
38   gemc_opts();
39  ~gemc_opts();
40   int Set(int argc, char **args); 
41
42   map<string, opts> args;         
43
44};
45
46vector<string> init_dmesg(gemc_opts);   
47vector<string> init_dvmesg(gemc_opts); 
48
49#endif
Note: See TracBrowser for help on using the repository browser.