64#ifndef Foam_substitutionModels_environmentVariable_H
65#define Foam_substitutionModels_environmentVariable_H
83 public substitutionModel
88 HashTable<string> entries_;
94 environmentVariable(
const environmentVariable&) =
delete;
97 void operator=(
const environmentVariable&) =
delete;
117 virtual bool valid(
const word& keyName)
const;
120 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 environmentVariable substitution model.
virtual bool apply(const word &key, string &buffer) const
Apply substitutions to this string buffer.
virtual bool valid(const word &keyName) const
Return true of model applies to this keyName.
virtual ~environmentVariable()=default
Destructor.
virtual wordList keys() const
Return a word list of the keys.
TypeName("environmentVariable")
Runtime type information.
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.