CartoType API
Public Member Functions
CartoType::CStringTypeDictionary Class Reference

#include <cartotype_trie.h>

Inheritance diagram for CartoType::CStringTypeDictionary:
CartoType::CTrieBase CartoType::MDictionary< MString, int32 >

List of all members.

Public Member Functions

CT_IMPORT TResult Insert (const MString &aKey, int32 aValue)
CT_IMPORT bool Find (const MString &aKey, int32 &aValue) const

Detailed Description

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.


Member Function Documentation

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 >.


The documentation for this class was generated from the following files: