Go to the documentation of this file.
21 #ifndef __timeFolder_hpp__
22 #define __timeFolder_hpp__
84 explicit operator bool()
const
125 for(
auto& subD: subDirs)
127 auto timeName =
tailName(subD.wordPath(),
'/');
129 if(
auto success =
readReal(timeName, TIME); success)
134 " duplicate time folder! time = " << TIME <<
endl;
148 #endif // __Control_hpp__
word tailName(const word &w, char sep='.')
timeFolder(const systemControl &control)
typename mapType::iterator iterator
bool readReal(const word &w, real &val)
iOstream & endl(iOstream &os)
fileSystemList subDirectories(const fileSystem &path)
timeFolder(const fileSystem &path)
fileSystem localFolder() const
#define fatalErrorInFunction
bool insertIf(const keyType &k, const mappedType &v)
timeList::iterator currentFolder_
Map< real, fileSystem > getTimeFolders(const fileSystem &path)
fileSystem folder() const