X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/d39c90a61334fa4c953842483bb79f3a86d319d0..5a4132d73bb1872523e9a7fccfa38cffbd551dda:/configcache.h diff --git a/configcache.h b/configcache.h index 40963e1..3dda989 100644 --- a/configcache.h +++ b/configcache.h @@ -25,6 +25,13 @@ struct parameter{ double val; }; +struct infiledesc { + string filename; + int nequi; + int nskip; + bool doVirtualEquilibration; +}; + class configcache{ public: ~configcache(); @@ -36,6 +43,7 @@ class configcache{ void setPara(const string& parid, const double& value); private: + infiledesc openFileDesc; void finishOutFile(); int getParIndex(const string& parid); int NEQUI; @@ -67,11 +75,13 @@ class configcache{ void fetchDataFiles(); - bool isValidInFile(const string& infile); + bool isValidInFile(const string& infile, infiledesc *filedesc); - vector inFiles; + vector inFiles; vector Paras; + + int readConfigToMem(char *tmpConfig); }; #endif