![]() |
|
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 > &) |
|
Null constructor.
|
|
Copy construct.
|
|
Construct from Istream using given Istream constructor class.
|
|
Construct from Istream.
|
|
Add at tail of dictionary.
|
|
Clear the dictionary.
|
|
Search DictionaryBase for given keyword.
|
|
Add at head of dictionary.
|
|
Find and return entry.
|
|
Find and return entry.
|
|
|
|
Find and return entry.
Definition at line 151 of file DictionaryBase.H. |
|
Find and return entry.
Definition at line 145 of file DictionaryBase.H. |
|
Remove and return entry specified by keyword.
|
|
Return the table of contents.
|
|
|