]> git.treefish.org Git - phys/latlib.git/blobdiff - hypercache.h
only storing concurrent config file HASHES instead of full names.
[phys/latlib.git] / hypercache.h
index 6997d8221ca81d51e523fe172b69e713097e88d6..11e1565148047d926370cbe9f73b12d522fc96a0 100644 (file)
@@ -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 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 bool readO();
+  static bool 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); }
   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<para> delayedParaAdd;
   static vector<para> delayedParaSet;
   static configcache *C;
   static vector<para> delayedParaAdd;
   static vector<para> delayedParaSet;
+  static writeout *out;
+
+  static string fileOfPath(const string& dressedfile);
+  static string activeCFile;
+  static vector<unsigned long> parentConfigs;
+  static void addParentConfig(const unsigned long *parentconfig);
 };
 
 #endif
 };
 
 #endif