CMapStringToOb Class Members

Construction

CMapStringToOb Constructs a collection that maps CString values to CObject pointers.

Operations

Lookup Returns a CObject pointer based on a CString value.
SetAt Inserts an element into the map; replaces an existing element if a matching key is found.
operator [] Inserts an element into the map — operator substitution for SetAt.
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).

CMapStringToOb OverviewBase Class MembersHierarchy Chart