45 const word& implicitFunctionType,
49 auto* ctorPtr = dictConstructorTable(implicitFunctionType);
58 *dictConstructorTablePtr_
62 return autoPtr<implicitFunction>(ctorPtr(
dict));
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Base class for implicit functions.
static autoPtr< implicitFunction > New(const word &implicitFunctionType, const dictionary &dict)
Return a reference to the selected implicitFunction.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.