|
|
|
DictionaryBase Class Template ReferenceInheritance diagram for DictionaryBase:![]() ![]() Detailed Descriptiontemplate<class IDLListType, class T>
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| DictionaryBase () | |
| Null constructor. | |
| DictionaryBase (const DictionaryBase &) | |
| Copy construct. | |
| template<class INew> | |
| DictionaryBase (Istream &is, const INew &inewt) | |
| Construct from Istream using given Istream constructor class. | |
| DictionaryBase (Istream &is) | |
| Construct from Istream. | |
| bool | found (const word &keyword) const |
| Search DictionaryBase for given keyword. | |
| const T * | lookup (const word &) const |
| Find and return entry. | |
| T * | lookup (const word &) |
| Find and return entry. | |
| wordList | toc () const |
| Return the table of contents. | |
| void | insert (const word &keyword, T *) |
| Add at head of dictionary. | |
| void | append (const word &keyword, T *) |
| Add at tail of dictionary. | |
| T * | remove (const word &keyword) |
| Remove and return entry specified by keyword. | |
| void | clear () |
| Clear the dictionary. | |
| void | operator= (const DictionaryBase &) |
| const T * | operator[] (const word &key) const |
| Find and return entry. | |
| T * | operator[] (const word &key) |
| Find and return entry. | |
Friends | |
| Ostream & | operator (Ostream &, const DictionaryBase< IDLListType, T > &) |
| DictionaryBase | ( | ) |
Null constructor.
| DictionaryBase | ( | const DictionaryBase< IDLListType, T > & | ) |
Copy construct.
| DictionaryBase | ( | Istream & | is, | |
| const INew & | inewt | |||
| ) |
| DictionaryBase | ( | Istream & | is | ) |
Construct from Istream.
| bool found | ( | const word & | keyword | ) | const |
Search DictionaryBase for given keyword.
| const T* lookup | ( | const word & | ) | const |
Find and return entry.
Referenced by DictionaryBase< Foam::DLList< T * >, T >::operator[]().
Here is the caller graph for this function:

| T* lookup | ( | const word & | ) |
Find and return entry.
| wordList toc | ( | ) | const |
Return the table of contents.
| void insert | ( | const word & | keyword, | |
| T * | ||||
| ) |
Add at head of dictionary.
| void append | ( | const word & | keyword, | |
| T * | ||||
| ) |
Add at tail of dictionary.
| T* remove | ( | const word & | keyword | ) |
Remove and return entry specified by keyword.
| void clear | ( | ) |
Clear the dictionary.
| void operator= | ( | const DictionaryBase< IDLListType, T > & | ) |
| const T* operator[] | ( | const word & | key | ) | const [inline] |
| T* operator[] | ( | const word & | key | ) | [inline] |
| Ostream& operator | ( | Ostream & | , | |
| const DictionaryBase< IDLListType, T > & | ||||
| ) | [friend] |