|
CartoType API
|
#include <cartotype_trie.h>
Classes | |
| class | CItem |
Public Member Functions | |
| TResult | Set (const MString &aKey, const T &aValue) |
| TResult | Delete (const MString &aKey) |
| bool | Find (const MString &aKey, T &aValue) const |
| const CPointerArray< CItem > & | Data () const |
A general dictionary. Implemented very inefficiently using linear search: do not use for large dictionaries.
| bool CartoType::CDictionary< T >::Find | ( | const MString & | aKey, |
| T & | aValue | ||
| ) | const [inline, virtual] |
Return true if aKey exists, false if not. If aKey exists in the dictionary, set aValue to the value associated with aKey.
Implements CartoType::MDictionary< MString, T >.
1.7.5.1