X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/4d1416455c49f0ba19954ca80a72b72f9dfcd33e..a5f05e337d18c193ac57b4da0013d1cdc69f8faa:/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