openfoam/src/OSspecific/POSIX/signals
Mark Olesen bb53e8adb3 ENH: adjustments to Switch
- align Switch more with Enum.
  Now have find(), found() static methods.
  Constructors with failsafe option.

  The find() method makes for clearer coding:

  OLD

     Switch sw(some_string, true); // NB: true = allowBad

     if (sw.valid()) ...

  NOW

     Switch sw = Switch::find(some_string);

     if (sw.good()) ...

  or

     if (Switch::found(some_string)) ...

- improve construct from dictionary to handle all valid token types.
  Previously just read in a word.

- Remove asText() method - replaced by c_str() and str() several
  versions ago.
2020-02-18 21:51:35 +01:00
..
feexceptErsatz.H COMP: use standard compiler macros when distinguishing the OS 2019-04-12 18:42:30 +02:00
sigFpe.C ENH: adjustments to Switch 2020-02-18 21:51:35 +01:00
sigFpe.H GIT: Header file updates 2019-10-31 14:48:44 +00:00
sigInt.C GIT: Header file updates 2019-10-31 14:48:44 +00:00
sigInt.H GIT: Header file updates 2019-10-31 14:48:44 +00:00
signalMacros.C GIT: Header file updates 2019-10-31 14:48:44 +00:00
sigQuit.C GIT: Header file updates 2019-10-31 14:48:44 +00:00
sigQuit.H GIT: Header file updates 2019-10-31 14:48:44 +00:00
sigSegv.C GIT: Header file updates 2019-10-31 14:48:44 +00:00
sigSegv.H GIT: Header file updates 2019-10-31 14:48:44 +00:00
sigStopAtWriteNow.C COMP: improvements to selection table helper classes 2019-11-12 14:29:53 +01:00
sigStopAtWriteNow.H GIT: Header file updates 2019-10-31 14:48:44 +00:00
sigWriteNow.C COMP: improvements to selection table helper classes 2019-11-12 14:29:53 +01:00
sigWriteNow.H GIT: Header file updates 2019-10-31 14:48:44 +00:00
timer.C GIT: Header file updates 2019-10-31 14:48:44 +00:00
timer.H GIT: Header file updates 2019-10-31 14:48:44 +00:00