36 word departureFrequencyModelType(
dict.lookup(
"type"));
39 << departureFrequencyModelType <<
endl;
41 dictionaryConstructorTable::iterator cstrIter =
42 dictionaryConstructorTablePtr_->find(departureFrequencyModelType);
44 if (cstrIter == dictionaryConstructorTablePtr_->end())
47 <<
"Unknown departureFrequencyModel type "
48 << departureFrequencyModelType <<
endl <<
endl
49 <<
"Valid departureFrequencyModel types are : " <<
endl
50 << dictionaryConstructorTablePtr_->sortedToc()
56 return cstrIter()(
dict);
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Enables the printing of a dictionary and subsequently looked-up defaulted entries.
Template function which returns the un-mangled name of a given type. Useful for types which do not ha...
static autoPtr< departureFrequencyModel > New(const dictionary &dict)
Select null constructed.
A class for handling words, derived from string.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Ostream & indentOrNl(Ostream &os)
Indent stream or add newline if indent level == 0.