X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/a477390b3aa6eea3a7d822a0499816eb0e2bf499..681f1e885b0f95d7278ad2e7e0f2d157c0048390:/hypercache.h?ds=sidebyside diff --git a/hypercache.h b/hypercache.h index 20ce840..c5f548a 100644 --- a/hypercache.h +++ b/hypercache.h @@ -26,9 +26,9 @@ class hypercache { static void addPara(const string& parid, const double& val=0); static void setPara(const string& parid, const double& value); - static void readO(int obsid, bool& readnewconfig, int& nequileft); + static void readO(int obsid, bool *readNewObsConfig, int *nequiObsLeft); static bool readC(); - static void writeO(int obsid, int actnequi); + static void writeO(int obsid); static void writeC(); static void writeHeaderO(int obsid, const string& headerid, char *header, long unsigned int size, int actnequi) { Os[obsid]->writeHeader(headerid, header, size, actnequi); } static void *getHeaderO(int obsid, const string& headerid) { Os[obsid]->getHeader(headerid); } @@ -68,6 +68,8 @@ class hypercache { static int nequileft; static pair mostEquilibratedConfig; + + static int lastWrittenObsEquis; }; #endif