38 #ifndef PtrListDictionary_H
39 #define PtrListDictionary_H
Base dictionary class templated on both the form of doubly-linked list it uses as well as the type it...
friend Ostream & operator(Ostream &, const DictionaryBase< PtrList< T >, T > &)
A helper class when constructing from an Istream or dictionary.
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.
UPtrListDictionary< T2 > convert()
Convert to list of different pointer type.
List< label > findIndices(const wordRe &key) const
Return the indices for all matches.
void append(const word &key, T *)
Append an element at the end of the list.
const T & operator[](const word &key) const
Find and return entry.
autoPtr< T > set(const label, const word &key, T *)
Set element to pointer provided and return old element.
label findIndex(const word &key) const
Return the index of the given the key or -1 if not found.
PtrListDictionary(const label size)
Construct given initial list size.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Template dictionary class which manages the storage associated with it.
label size() const
Return the number of elements in the UPtrList.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A class for managing temporary objects.
A wordRe is a word, but can also have a regular expression for matching words.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)