X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/b5bb9df73bd92a33ce4e350a94829ff67e3afca8..e48bdb3989c1abbf1d6b3124502299cecae0bdb6:/configcache.h?ds=inline diff --git a/configcache.h b/configcache.h index e61bb3f..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,7 +43,7 @@ class configcache{ void setPara(const string& parid, const double& value); private: - string openFileName; + infiledesc openFileDesc; void finishOutFile(); int getParIndex(const string& parid); int NEQUI; @@ -68,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