CMapPtrToWord Class Members

Construction
CMapPtrToWord Constructs a collection that maps void pointers to 16-bit words.

Operations
Lookup Returns a WORD using a void pointer as a key. The pointer value, not the entity it points to, is used for the key comparison.
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.

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

Operators
operator [] Inserts an element into the map — operator substitution for SetAt.

See Also

CMapPtrToWord Overview, Map Classes