CMap::SetAt

void SetAt( ARG_KEY key, ARG_VALUE newValue );

Parameters

ARG_KEY

Template parameter specifying the type of the key parameter.

key

Specifies the key of the new element.

ARG_VALUE

Template parameter specifying the type of the newValue parameter.

newValue

Specifies the value of the new element.

Remarks

The primary means to insert an element in a map. First, the key is looked up. If the key is found, then the corresponding value is changed; otherwise a new key-value pair is created.

CMap OverviewClass MembersHierarchy Chart

See Also   CMap::Lookup, CMap::operator []