65#ifndef Foam_substitutionModels_userValue_H
66#define Foam_substitutionModels_userValue_H
84 public substitutionModel
89 HashTable<string> entries_;
95 userValue(
const userValue&) =
delete;
98 void operator=(
const userValue&) =
delete;
118 virtual bool valid(
const word& keyName)
const;
121 virtual bool apply(
const word& key,
string& buffer)
const;
A HashTable similar to std::unordered_map.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
The userValue substitution model. Dictionaries can be retrieved from an object registry,...
virtual bool apply(const word &key, string &buffer) const
Apply substitutions to this string buffer.
TypeName("userValue")
Runtime type information.
virtual bool valid(const word &keyName) const
Return true of model applies to this keyName.
virtual wordList keys() const
Return a word list of the keys.
virtual ~userValue()=default
Destructor.
A class for handling words, derived from Foam::string.
List< word > wordList
List of word.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.