Go to the documentation of this file.
51 #ifndef DictionaryBase_H
52 #define DictionaryBase_H
64 template<
class IDLListType,
class T>
67 template<
class IDLListType,
class T>
75 template<
class IDLListType,
class T>
138 template<
class Compare>
182 friend Ostream& operator<< <IDLListType, T>
185 const DictionaryBase<IDLListType, T>&
197 return this->
cfind(keyword);
206 return this->
find(keyword);
void operator=(const DictionaryBase &)
A class for handling words, derived from Foam::string.
const T * operator[](const word &key) const
void transfer(DictionaryBase< IDLListType, T > &dict)
auto key(const Type &t) -> typename std::enable_if< std::is_enum< Type >::value, typename std::underlying_type< Type >::type >::type
wordList sortedToc() const
Ostream & operator<<(Ostream &, const boundaryPatch &p)
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)....
DictionaryBase(const label size=128)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
T * remove(const word &keyword)
bool found(const word &keyword) const
const T * lookupPtr(const word &keyword) const
void append(const word &keyword, T *)
const T * lookup(const word &keyword) const
T * find(const word &keyword)
void insert(const word &keyword, T *)
HashTable< T * > hashedTs_
T * operator[](const word &key)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Base dictionary class templated on both the form of doubly-linked list it uses as well as the type it...
const T * cfind(const word &keyword) const
class FOAM_DEPRECATED_FOR(2017-05, "Foam::Enum") NamedEnum
An Ostream is an abstract base class for all output systems (streams, files, token lists,...