]> git.treefish.org Git - phys/latlib.git/blobdiff - configcache.h
added support for using excluded config-files for equilibration.
[phys/latlib.git] / configcache.h
index d79afa685d802b2132e9daa41d82a6941a3d41b5..82fa3f6787ccba006b242f56b645e00afcbf4b9c 100644 (file)
@@ -46,6 +46,8 @@ class configcache{
   string getOutFileName() { return outFileName.str(); }
   string getInFileName() { return DATADIR + "/" + openFileDesc.filename; }
   static unsigned long hash(const string& str);
+  void closeInFile() { inFile.close(); }
+  int inFilesLeft() { return inFiles.size(); }
 
  private:
   ostream* log;
@@ -100,6 +102,8 @@ class configcache{
   void deleteHeaderStore();
 
   bool readAllHeaders();
+
+  vector<infiledesc>::iterator getNextInfile(vector<unsigned long> *excludeFileHashes);
 };
 
 #endif