10 #include "latlib/paraq.h"
11 #include "latlib/writeout.h"
12 #include "latlib/hypercache.h"
23 obs(const string& _obsid, const string& _datadesc, o815 *_O815, const int& _obsmemSize);
25 void meas(bool loadedobs);
27 string getDataDesc() { return datadesc; };
31 virtual void _meas(bool loadedobs)=0;
32 virtual void _finish()=0;
33 virtual void _start()=0;
37 string simid, datadesc;
44 sim(o815 *_O815, const int& _confmemSize);
47 virtual void _newParas()=0;
49 virtual void _makeSweep()=0;
53 int nequi, nskip, confmemSize;
61 pair<string,int> obscache;
62 pair<string,int> confcache;
77 o815(int argc, char **argv, const string& _programid, comoption specOps[]=NULL, void (*helpHeader)()=NULL);
82 vector<obs*> observables;
86 void addPara(const string& paraid, const double& paraDefault);
87 void addComOption(const char* name, int has_arg, int *flag, int val, const char* optdesc, const char* argdesc);
88 vector< pair<int,char*> > parsedSpecOps;
89 vector<char*> lonelyArgs;
92 vector<comoption> comOptions;
95 static void listArg(int *target, int tlen, char *listarg);
96 void parseArgs(int argc, char **argv, comoption specOps[]);
99 comoption* getOptionByVal(int val);