Go to the documentation of this file.
45 Info<<
"objectRefinement::New(const word&, const dictionary&) : "
46 <<
"constructing objectRefinement"
51 word refType(typeName_());
57 dictionaryConstructorTable::iterator cstrIter =
58 dictionaryConstructorTablePtr_->find(refType);
60 if( cstrIter == dictionaryConstructorTablePtr_->end() )
64 "objectRefinement::New(const word&, const dictionary&)",
66 ) <<
"Unknown objectRefinement type " << refType <<
nl <<
nl
67 <<
"Valid objectRefinement types are :" <<
nl
68 <<
"[default: " << typeName_() <<
"]"
69 << dictionaryConstructorTablePtr_->toc()
A class for handling words, derived from string.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
#define FatalIOErrorIn(functionName, ios)
Report an error message using Foam::FatalIOError.
A list of keyword definitions, which are a keyword followed by any number of values (e....
errorManipArg< error, int > exit(error &err, const int errNo=1)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
static autoPtr< objectRefinement > New(const word &name, const dictionary &dict)
Select constructed from dictionary.
word name(const complex &)
Return a string representation of a complex.