37 wordConstructorTablePtr_->found(writeType)
38 || wordDictConstructorTablePtr_->found(writeType)
48 auto* ctorPtr = wordConstructorTable(writeType);
56 *wordConstructorTablePtr_
66 const word& writeType,
72 auto* ctorPtr = wordDictConstructorTable(writeType);
76 return autoPtr<coordSetWriter>(ctorPtr(writeOpts));
82 auto* ctorPtr = wordConstructorTable(writeType);
90 *wordConstructorTablePtr_
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
static autoPtr< coordSetWriter > New(const word &writeFormat)
Return a reference to the selected writer.
static bool supportedType(const word &writeType)
True if New is likely to succeed for this writeType.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling words, derived from Foam::string.
#define FatalErrorInLookup(lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalError.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
errorManipArg< error, int > exit(error &err, const int errNo=1)