openfoam/etc/codeTemplates
Mark Olesen 13778f7647 ENH: use dictionary::readEntry for detection of input errors (#762, #1033)
- instead of   dict.lookup(name) >> val;
  can use      dict.readEntry(name, val);

  for checking of input token sizes.
  This helps catch certain types of input errors:

  {

      key1 ;                // <- Missing value
      key2 1234             // <- Missing ';' terminator
      key3 val;
  }

STYLE: readIfPresent() instead of 'if found ...' in a few more places.
2018-10-05 10:15:13 +02:00
..
app ENH: make format of ExecutionTime = ... output configurable (issue #788) 2018-04-27 15:00:34 +02:00
BC STYLE: use Ostream writeEntry when writing key/value entries 2017-11-06 00:49:24 +01:00
dynamicCode STYLE: consistent use of '= delete' 2018-05-30 12:03:17 +02:00
functionObject ENH: use dictionary::readEntry for detection of input errors (#762, #1033) 2018-10-05 10:15:13 +02:00
source STYLE: adjust codeTemplates to use '= delete' 2018-04-19 07:38:31 +02:00
template STYLE: adjust codeTemplates to use '= delete' 2018-04-19 07:38:31 +02:00
foamCommentStyles STYLE: additional divisions for code templates 2017-07-11 08:48:10 +02:00
foamScript ENH: more succinct output from command-line errors. 2017-11-24 10:27:11 +01:00