Construction Methods
Method | Description |
---|---|
CMapWordToOb | Constructs a collection that maps words to CObject pointers. |
Operations Methods
Method | Description |
---|---|
Lookup | Returns a CObject pointer using a word value as a 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. |
Status Methods
Method | Description |
---|---|
GetCount | Returns the number of elements in this map. |
IsEmpty | Tests for the empty-map condition (no elements). |
Operators
Operator | Description |
---|---|
operator [] | Inserts an element into the map — operator substitution for SetAt. |