mergeDictionaries.H File Reference

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

Include dependency graph for mergeDictionaries.H:
This graph shows which files directly or indirectly include this file:

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))
 

Detailed Description

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.

Source files

Definition in file mergeDictionaries.H.