Share via


CMapPtrToWord Members

Base Class Members

CObject Members

Construction

CMapPtrToWord

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

Operations

GetHashTableSize

Determines the current number of elements in the hash table.

HashKey

Calculates the hash value of a specified key.

InitHashTable

Initializes the hash table.

GetNextAssoc

Gets the next element for iterating.

GetStartPosition

Returns the position of the first element.

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.

operator []

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

RemoveAll

Removes all the elements from this map.

RemoveKey

Removes an element specified by a key.

SetAt

Inserts an element into the map; replaces an existing element if a matching key is found.

Status

GetSize

Returns the number of elements in this map.

GetCount

Returns the number of elements in this map.

IsEmpty

Tests for the empty-map condition (no elements).

See Also

Concepts

CMapPtrToWord Class

Hierarchy Chart