|
CartoType API
|
#include <cartotype_trie.h>
Public Member Functions | |
| CT_IMPORT TResult | Insert (const MString &aKey, int32 aValue) |
| CT_IMPORT bool | Find (const MString &aKey, int32 &aValue) const |
A dictionary to map strings to integer values. Strings with non-zero values are stored in the dictionary. This class is used to store lists of strings that are to receive exceptional treatment defined by a non-zero value that may be a constant or a set of flags.
| CT_EXPORT bool CStringTypeDictionary::Find | ( | const MString & | aKey, |
| int32 & | aValue | ||
| ) | const [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, int32 >.
1.7.5.1