openfoam/applications/test/wmake1
Mark Olesen c9333a5ac8 ENH: improve flexibility of error, messageStream output
- provide a plain stream() method on messageStream to reduce reliance
  on casting operators and slightly opaque operator()() calls etc

- support alternative stream for messageStream serial output.
  This can be used to support local redirection of output.
  For example,

     refPtr<OFstream> logging;   // or autoPtr, unique_ptr etc

     // Later...
     Info.stream(logging.get())
        << "Detailed output ..." << endl;

  This will use the stdout semantics in the normal case, or allow
  redirection to an output file if a target output stream is defined,
  but still effectively use /dev/null on non-master processes.

  This is mostly the same as this ternary

      (logging ? *logging : Info())

  except that the ternary could be incorrect on sub-processes,
  requires more typing etc.

ENH: use case-relative names of dictionary, IOstream for FatalIOError

- normally yields more easily understandable information
2021-11-03 11:46:13 +01:00
..
Make CONFIG: improve support for compiler/link options (#1830) 2020-09-07 09:45:51 +02:00
newStub.C ENH: improve flexibility of error, messageStream output 2021-11-03 11:46:13 +01:00
oldStub.C STYLE: adjusted wording and messages for wmake 2019-04-03 08:57:01 +02:00
Test-wmake1.C GIT: Header file updates 2019-10-31 14:48:44 +00:00