CMapStringToOb Members

Base Class Members

CObject Members

Construction

CMapStringToOb

Constructs a collection that maps CString values to CObject pointers.

Operations

GetNextAssoc

Gets the next element for iterating.

GetStartPosition

Returns the position of the first element.

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.

LookupKey

Returns a key value associated with the specified key value.

Lookup

Returns a CObject pointer based on a CString value.

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

GetCount

Returns the number of elements in this map.

GetSize

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

Reference

CMapStringToOb Class

Hierarchy Chart