|
CartoType API
|
#include <cartotype_base.h>
Public Member Functions | |
| virtual | ~MPointerDictionary () |
| virtual bool | Find (const Key &aKey, const Value *&aValue) const =0 |
A templated interface class defining dictionaries in which a key is used to access a pointer to a value.
| virtual CartoType::MPointerDictionary< Key, Value >::~MPointerDictionary | ( | ) | [inline, virtual] |
Although pointers to this class are not owned, a virtual destructor is provided for safety and to avoid compiler warnings.
| virtual bool CartoType::MPointerDictionary< Key, Value >::Find | ( | const Key & | aKey, |
| const Value *& | aValue | ||
| ) | const [pure virtual] |
Return true if aKey exists, false if not. If aKey exists in the dictionary, set aValue to point to the value associated with aKey.
Implemented in CartoType::CTrie< T >, and CartoType::CTrie< MString >.
1.7.5.1