00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00028 #ifndef parameters_h
00029 #define parameters_h
00030
00031 #include "array.h"
00032 #include "mystring.h"
00033
00042 class Parameters {
00043 public:
00046 Parameters() :
00047 usage(),
00048 helptext(),
00049 help(false),
00050 version(false),
00051 basename(""),
00052 controlfiles(),
00053 reporting(-1),
00054 methods(""),
00055 numthreads(0),
00056 includepath(),
00057 input(""),
00058 workspacevariables(""),
00059 describe(""),
00060 groups(false),
00061 plain(false)
00062 { }
00064 String usage;
00066 String helptext;
00068 bool help;
00070 bool version;
00074 String basename;
00077 ArrayOfString controlfiles;
00085 Index reporting;
00089 String methods;
00091 Index numthreads;
00093 ArrayOfString includepath;
00097 String input;
00101 String workspacevariables;
00104 String describe;
00106 bool groups;
00108 bool plain;
00109 };
00110
00111
00125 bool get_parameters(int argc, char **argv);
00126
00127
00128 #endif // parameters_h