Rev | Line | |
---|
[807] | 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> |
---|
| 20 | using namespace std; |
---|
| 21 | |
---|
| 22 | class 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 | |
---|
| 34 | class 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 | |
---|
| 46 | vector<string> init_dmesg(gemc_opts); |
---|
| 47 | vector<string> init_dvmesg(gemc_opts); |
---|
| 48 | |
---|
| 49 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.