35 template<
class TablePtr>
39 const word& libsEntry,
40 const TablePtr& tablePtr
44 dict.readIfPresent(libsEntry, libNames);
48 for (
const fileName& libName : libNames)
50 const label nEntries = (tablePtr ? tablePtr->size() : 0);
52 if (dlLibraryTable::open(libName))
56 if (
debug && (!tablePtr || tablePtr->size() <= nEntries))
59 <<
"library " << libName
60 <<
" did not introduce any new entries"
67 <<
"Could not open library " << libName
72 return nOpen && nOpen == libNames.size();