|
CartoType API
|
#include <cartotype_base.h>
Public Member Functions | |
| virtual | ~MDictionary () |
| virtual bool | Find (const Key &aKey, Value &aValue) const =0 |
A templated interface class defining dictionaries in which a key type is used to access a value.
| virtual CartoType::MDictionary< Key, Value >::~MDictionary | ( | ) | [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::MDictionary< Key, Value >::Find | ( | const Key & | aKey, |
| Value & | aValue | ||
| ) | const [pure virtual] |
Return true if aKey exists, false if not. If aKey exists in the dictionary, set aValue to the value associated with aKey.
Implemented in CartoType::CDictionary< T >, CartoType::CDictionary< int32 >, and CartoType::CStringTypeDictionary.
1.7.5.1