X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/c1fa6a1beca0ee805fd717b65ab4e959c5864950..ad54f29de351976a096b4991fe426ffc30332df2:/configcache.h?ds=sidebyside diff --git a/configcache.h b/configcache.h index d79afa6..82fa3f6 100644 --- a/configcache.h +++ b/configcache.h @@ -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::iterator getNextInfile(vector *excludeFileHashes); }; #endif