ENH: change wordRes to be a List of wordRe instead of a wrapper (issue #259)

- this permits direct storage of a list with additional matcher
  capabilities

- provide wordRes::matcher class for similar behaviour as previously
This commit is contained in:
Mark Olesen
2018-02-21 10:05:30 +01:00
parent 03b287ed24
commit c126464d1c
113 changed files with 572 additions and 801 deletions

View File

@ -55,7 +55,7 @@ namespace Foam
// Forward declarations
class argList;
class mapPolyMesh;
class wordRes;
class wordRe;
/*---------------------------------------------------------------------------*\
Class functionObjectList Declaration
@ -160,7 +160,7 @@ public:
//- Destructor
~functionObjectList();
~functionObjectList() = default;
// Member Functions
@ -270,7 +270,7 @@ public:
// execute
// \param subIndex an execution sub-index corresponding to a
// sub-cycle or something similar
bool execute(const wordRes& functionNames, const label subIndex);
bool execute(const UList<wordRe>& functionNames, const label subIndex);
//- Called when Time::run() determines that the time-loop exits
bool end();