38#ifndef Foam_simpleObjectRegistry_H
39#define Foam_simpleObjectRegistry_H
61 public List<simpleRegIOobject*>
109 bool verbose =
false,
120 const std::string_view
name,
123 bool verbose =
false,
132 const std::string_view
name,
General purpose template dictionary class that manages the storage associated with it.
Dictionary(const label initialCapacity=128)
simpleRegIOobject ** data() noexcept
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class representing the concept of 1 (one) that can be used to avoid manipulating objects known to b...
simpleObjectRegistryEntry(const List< simpleRegIOobject * > &data)
Construct with a List of objects.
simpleObjectRegistryEntry(simpleRegIOobject *obj)
Construct with a single object (list size == 1).
simpleObjectRegistry(const label initialCapacity)
Construct empty with initial table capacity.
void setValues(const dictionary &dict, bool verbose=false, bool dryrun=false)
Set values (invoke callbacks) from dictionary entries.
simpleObjectRegistry()=default
Default construct: empty without allocation (capacity=0).
void setNamedInt(const std::string_view name, int val, bool verbose=false)
Deprecated(2021-09) renamed to setNamedValue.
void setNamedValue(const std::string_view name, int val, bool verbose=false, bool dryrun=false)
Set named value, but also handle embedded 'name=value' syntax.
Abstract base class for registered object with I/O. Used in debug symbol registration.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
link() noexcept=default
Default construct.