36 #ifndef printDictionary_H
37 #define printDictionary_H
61 static void removeDefaults
68 static void removeDefaults(
const dictionary* dictPtr);
75 static void setSubDefaults
95 > dictNameToDictPtrAndCount_;
104 > dictPtrToDefaults_;
133 template<
class ... Args>
142 template<
class ... Args>
163 return dictNameToDictPtrAndCount_.found(
dict.name());
169 return dictNameToDictPtrAndCount_.found(dictName);
176 return dictPtrToDefaults_.found(&
dict);
187 template<
class Type,
class... Args>
191 return Type(
args...);
A HashTable with keys but without contents.
An STL-conforming hash table.
Hash specialisation for hashing pointer addresses.
Hash function class for primitives. All non-primitives used to hash entries on hash tables likely nee...
A 2-tuple for storing two objects of different types.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
A class for handling file names.
Enables the printing of a dictionary and subsequently looked-up defaulted entries.
static bool haveDefaults(const dictionary &dict)
Return if a dictionary exists to add defaults to for a given.
static dictionary & defaults(const dictionary &dict)
Return the dictionary to add defaults to for a given dictionary.
~printDictionary()
Destructor.
static bool prints(const dictionary &dict)
Return if a dictionary is marked to be printed.
static void set(const dictionary &dict)
Set the dictionary to be printed.
A class for managing temporary objects without reference counting.
Type PrintDictionary(const dictionary &dict, Args &... args)
void add(GeometricField< typename typeOfSum< Type1, Type2 >::type, GeoMesh, PrimitiveField1 > &gf, const GeometricField< Type1, GeoMesh, PrimitiveField2 > &gf1, const GeometricField< Type2, GeoMesh, PrimitiveField3 > &gf2)
Foam::argList args(argc, argv)