40 #ifndef Foam_PtrListDictionary_H 41 #define Foam_PtrListDictionary_H
PtrListDictionary(const label size)
Construct given initial list size.
Base dictionary class templated on both the form of doubly-linked list it uses as well as the type it...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Template dictionary class which manages the storage associated with it.
A class for handling words, derived from Foam::string.
label size() const noexcept
The number of entries in the list.
const T & operator[](const word &key) const
Find and return entry.
DictionaryBase< PtrList< T >, T > dict_type
The template instance used for the dictionary content.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
const T * lookup(const word &keyword) const
Find and return entry, FatalError on failure.
auto key(const Type &t) -> typename std::enable_if< std::is_enum< Type >::value, typename std::underlying_type< Type >::type >::type
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
A helper class when constructing from an Istream or dictionary.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
A class for managing temporary objects.