CMap Member Functions

Construction
CMap Constructs a collection that maps keys to values.

Operations
Lookup Looks up the value mapped to a given key.
SetAt Inserts an element into the map; replaces an existing element if a matching key is found.
RemoveKey Removes an element specified by a key.
RemoveAll Removes all the elements from this map.
GetStartPosition Returns the position of the first element.
GetNextAssoc Gets the next element for iterating.
GetHashTableSize Returns the size (number of elements) of the hash table.
InitHashTable Initializes the hash table and specifies its size.

Status
GetCount Returns the number of elements in this map.
IsEmpty Tests for the empty-map condition (no elements).

See Also

CMap Overview, CMap Operators, Map Classes