32 const word& helpTypeName
35 Info<<
"Selecting helpType " << helpTypeName <<
endl;
37 dictionaryConstructorTable::iterator cstrIter =
38 dictionaryConstructorTablePtr_->find(helpTypeName);
40 if (cstrIter == dictionaryConstructorTablePtr_->end())
44 if (helpTypeName ==
"-help")
47 <<
"Valid helpType selections are:" <<
nl 48 << dictionaryConstructorTablePtr_->sortedToc() <<
nl 54 <<
"Unknown helpType type " << helpTypeName <<
nl 55 <<
"Valid helpType selections are:" <<
nl 56 << dictionaryConstructorTablePtr_->sortedToc() <<
nl 61 return autoPtr<helpType>(cstrIter()());
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static autoPtr< helpType > New(const word &helpTypeName)
Selector.
errorManip< error > abort(error &err)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...