stringOps: Rationalisation of expansions

Specific names have been given for expand functions. Unused functions
have been removed, and functions only used locally have been removed
from the namespace. Documentation has been corrected. Default and
alternative value handling has been removed from code template
expansion.
This commit is contained in:
Will Bainbridge
2023-06-21 12:14:29 +01:00
parent d028a9a4d3
commit 0927fd47fa
26 changed files with 620 additions and 851 deletions

View File

@ -51,7 +51,7 @@ int main(int argc, char *argv[])
dict.add("aaOpenFOAMcc", 1);
string s("DDD${aa${WM_PROJECT}cc}EEE");
stringOps::inplaceExpand(s, dict, true, false);
stringOps::inplaceExpandEntry(s, dict, true, false);
Info<< "variable expansion:" << s << endl;
}