35 const word& helpTypeName
38 auto* ctorPtr = dictionaryConstructorTable(helpTypeName);
44 if (helpTypeName.starts_with(
"-help"))
47 <<
"Valid helpType selections:" <<
nl 49 <<
flatOutput(dictionaryConstructorTablePtr_->sortedToc()) <<
nl 55 <<
"Unknown helpType type '" << helpTypeName <<
"'" <<
nl <<
nl 56 <<
"Valid helpType selections:" <<
nl 58 <<
flatOutput(dictionaryConstructorTablePtr_->sortedToc()) <<
nl 63 Info<<
"Selecting helpType '" << helpTypeName <<
"'" <<
endl;
65 return autoPtr<helpType>(ctorPtr());
errorManipArg< error, int > exit(error &err, const int errNo=1)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
constexpr char nl
The newline '\n' character (0x0a)
Ostream & endl(Ostream &os)
Add newline and flush stream.
static autoPtr< helpType > New(const word &helpTypeName)
Selector.
errorManip< error > abort(error &err)
messageStream Info
Information stream (stdout output on master, null elsewhere)
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
FlatOutput::OutputAdaptor< Container, Delimiters > flatOutput(const Container &obj, Delimiters delim)
Global flatOutput() function with specified output delimiters.