43 Info<<
"Selecting " << typeName <<
" " << modelType <<
endl;
46 dictionaryConstructorTable::iterator cstrIter =
47 dictionaryConstructorTablePtr_->find(modelType);
49 if (cstrIter == dictionaryConstructorTablePtr_->end())
52 <<
"Unknown " << typeName <<
" type "
53 << modelType <<
nl <<
nl
54 <<
"Valid " << typeName <<
" types are:" <<
nl
55 << dictionaryConstructorTablePtr_->sortedToc()
A list of keyword definitions, which are a keyword followed by any number of values (e....
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
const word & name() const
Return the name of this functionObject.
static autoPtr< fieldValue > New(const word &name, const objectRegistry &obr, const dictionary &dict, const bool output=true)
Return a reference to the selected fieldValue.
const dictionary & dict() const
Return the reference to the construction dictionary.
Registry of regIOobjects.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const bool)
Return a word representation of a bool.