Go to the documentation of this file.
32 const word& conditionName,
38 word conditionType(
dict.lookup(
"type"));
40 Info<<
"Selecting runTimeCondition " << conditionType <<
endl;
42 dictionaryConstructorTable::iterator cstrIter =
43 dictionaryConstructorTablePtr_->find(conditionType);
45 if (cstrIter == dictionaryConstructorTablePtr_->end())
48 <<
"Unknown runTimeCondition type "
49 << conditionType <<
nl <<
nl
50 <<
"Valid runTimeCondition types are:" <<
nl
51 << dictionaryConstructorTablePtr_->sortedToc()
57 cstrIter()(conditionName, obr,
dict, state)
static autoPtr< runTimeCondition > New(const word &conditionName, const objectRegistry &obr, const dictionary &dict, functionObjectState &state)
Selector.
A class for handling words, derived from string.
Base class for function objects, adding functionality to read/write state information (data required ...
Ostream & endl(Ostream &os)
Add newline and flush stream.
Registry of regIOobjects.
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...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.