openfoam/applications/utilities/surface/surfaceFeatureExtract
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
..
extractionMethod Merge commit 'e9219558d7' into develop-v1906 2019-12-05 11:47:19 +00:00
Make COMP: adjust compilation order with updated interdependencies 2019-04-28 14:44:33 +02:00
Allwclean STYLE: regularize quoting and exit on failed 'cd' 2019-11-13 13:19:16 +01:00
Allwmake STYLE: regularize quoting and exit on failed 'cd' 2019-11-13 13:19:16 +01:00
surfaceFeatureExtract.C ENH: adjustments to Switch 2020-02-18 21:51:35 +01:00