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 readIfPresent(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX) const
A class for handling file names.
A class for handling words, derived from Foam::string.
#define WarningInFunction
Report a warning using Foam::Warning.
Ostream & endl(Ostream &os)
Add newline and flush stream.
constexpr char nl
The newline '\n' character (0x0a)
static constexpr char open