double val;
};
+struct infiledesc {
+ string filename;
+ int nequi;
+ int nskip;
+ bool doVirtualEquilibration;
+};
+
class configcache{
public:
~configcache();
void setPara(const string& parid, const double& value);
private:
+ infiledesc openFileDesc;
void finishOutFile();
int getParIndex(const string& parid);
int NEQUI;
void fetchDataFiles();
- bool isValidInFile(const string& infile);
+ bool isValidInFile(const string& infile, infiledesc *filedesc);
- vector<string> inFiles;
+ vector<infiledesc> inFiles;
vector<parameter> Paras;
+
+ int readConfigToMem(char *tmpConfig);
};
#endif