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