X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/31dc8788f9711670917daaa5cc544d0d87ec3afc..2941710185479c3748e991a3932c4af8832204a9:/hypercache.h diff --git a/hypercache.h b/hypercache.h index 6997d82..f7c039c 100644 --- a/hypercache.h +++ b/hypercache.h @@ -20,10 +20,10 @@ class hypercache { static void addPara(const string& parid, const double& val=0); static void setPara(const string& parid, const double& value); - static bool readO() { return O->readConfig(); } - static bool readC() { return C->readConfig(); } - static void writeO() { O->writeConfig(); } - static void writeC() { C->writeConfig(); } + static int readO(); + static int readC(); + static void writeO(); + static void writeC(); static void writeHeaderO(const string& headerid, char *header, long unsigned int size) { O->writeHeader(headerid, header, size); } static void *getHeaderO(const string& headerid) { O->getHeader(headerid); } static void writeHeaderC(const string& headerid, char *header, long unsigned int size) { C->writeHeader(headerid, header, size); } @@ -48,6 +48,12 @@ class hypercache { static configcache *C; static vector delayedParaAdd; static vector delayedParaSet; + static writeout *out; + + static string fileOfPath(const string& dressedfile); + static string activeCFile; + static vector parentConfigs; + static void addParentConfig(const unsigned long *parentconfig); }; #endif