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());
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
FlatOutput::OutputAdaptor< Container, Delimiters > flatOutput(const Container &obj, Delimiters delim)
Global flatOutput() function with specified output delimiters.
errorManip< error > abort(error &err)
errorManipArg< error, int > exit(error &err, const int errNo=1)
constexpr char nl
The newline '\n' character (0x0a)