32 template<
class TablePtr>
36 const word& libsEntry,
37 const TablePtr& tablePtr
40 if (dict.
found(libsEntry))
44 bool allOpened = (libNames.size() > 0);
48 const fileName& libName = libNames[i];
54 nEntries = tablePtr->size();
57 bool opened = dlLibraryTable::open(libName);
58 allOpened = opened && allOpened;
60 if (opened && (!tablePtr || tablePtr->size() <= nEntries))
64 "dlLibraryTable::open"
65 "(const dictionary& dict, const word& libsEntry, "
66 "const TablePtr tablePtr)"
67 ) <<
"library " << libName
68 <<
" did not introduce any new entries"