Function with which to merge one dictionary into another. Intended for user-facing dictionary merging (e.g., by foamDictionary or similar). More...


Go to the source code of this file.
Namespaces | |
| Foam | |
| Namespace for OpenFOAM. | |
Functions | |
| bool | mergeDictionaries (dictionary &tgtDict, const dictionary &srcDict, const bool wildcards=true, const HashTable< wordList, word > &shortcuts=HashTable< wordList, word >(0)) |
Function with which to merge one dictionary into another. Intended for user-facing dictionary merging (e.g., by foamDictionary or similar).
Original source file mergeDictionaries.H
InNamespace Foam
Supports prepending entries in the source dictionary with '~' to indicate that they should be removed in the result. Also supports deactivating wildcards and treating regex keywords as literal strings. Also permits a table of shortcuts to be provided with which to rename entries.
Returns whether or not anything changed.
Definition in file mergeDictionaries.H.