CMap::Lookup

BOOL Lookup( ARG_KEY key, VALUE& rValue ) const;

Return Value

Nonzero if the element was found; otherwise 0.

Parameters

ARG_KEY

Template parameter specifying the type of the key value.

key

Specifies the key that identifies the element to be looked up.

VALUE

Specifies the type of the value to be looked up.

rValue

Receives the looked-up value.

Remarks

Lookup uses a hashing algorithm to quickly find the map element with a key that exactly matches the given key.

CMap OverviewClass MembersHierarchy Chart

See Also   CMap::operator []