34template<
class TablePtr>
38 const word& libsEntry,
39 const TablePtr& tablePtr,
48 for (
const fileName& libName : libNames)
50 const label nEntries = (tablePtr ? tablePtr->size() : -1);
56 if (
debug && tablePtr !=
nullptr && tablePtr->size() <= nEntries)
59 <<
"library " << libName
60 <<
" did not introduce any new entries"
66 return nOpen && nOpen == libNames.
size();
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void size(const label n)
Older name for setAddressableSize.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool open(bool verbose=true)
Open named, but unopened libraries. These names will normally have been added with push_back().
A class for handling file names.
A class for handling words, derived from Foam::string.
#define WarningInFunction
Report a warning using Foam::Warning.
Namespace for handling debugging switches.
Ostream & endl(Ostream &os)
Add newline and flush stream.
constexpr char nl
The newline '\n' character (0x0a).