Template dictionary class which manages the storage associated with it. More...
Public Member Functions | |
PtrDictionary (const label size=128) | |
PtrDictionary (const PtrDictionary &dict) | |
template<class INew > | |
PtrDictionary (Istream &is, const INew &inew) | |
PtrDictionary (Istream &is) | |
const T & | operator[] (const word &key) const |
T & | operator[] (const word &key) |
![]() | |
DictionaryBase (const label size=128) | |
DictionaryBase (const DictionaryBase &dict) | |
DictionaryBase (Istream &is, const INew &inew) | |
DictionaryBase (Istream &is) | |
bool | found (const word &keyword) const |
const T * | cfind (const word &keyword) const |
T * | find (const word &keyword) |
const T * | lookup (const word &keyword) const |
T * | lookup (const word &keyword) |
wordList | toc () const |
wordList | sortedToc () const |
wordList | sortedToc (const Compare &comp) const |
Foam::wordList | sortedToc (const Compare &comp) const |
void | insert (const word &keyword, T *) |
void | append (const word &keyword, T *) |
T * | remove (const word &keyword) |
void | clear () |
void | transfer (DictionaryBase< IDLListType, T > &dict) |
void | operator= (const DictionaryBase &) |
const T * | operator[] (const word &key) const |
T * | operator[] (const word &key) |
const T * | lookupPtr (const word &keyword) const |
T * | lookupPtr (const word &keyword) |
Additional Inherited Members | |
![]() | |
void | addEntries () |
![]() | |
HashTable< T * > | hashedTs_ |
Template dictionary class which manages the storage associated with it.
It is derived from DictionaryBase instantiated on a memory managed form of intrusive doubly-linked list of <T>.
Definition at line 51 of file PtrDictionary.H.
PtrDictionary | ( | const label | size = 128 | ) |
Definition at line 26 of file PtrDictionary.C.
PtrDictionary | ( | const PtrDictionary< T > & | dict | ) |
Definition at line 33 of file PtrDictionary.C.
PtrDictionary | ( | Istream & | is, |
const INew & | inew | ||
) |
Definition at line 41 of file PtrDictionary.C.
PtrDictionary | ( | Istream & | is | ) |
Definition at line 48 of file PtrDictionary.C.
Definition at line 77 of file PtrDictionary.H.
Definition at line 83 of file PtrDictionary.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.