CMapStringToOb::HashKey

Calculates the hash value of a specified key.

UINT HashKey( 
   LPCTSTR key 
) const;

Parameters

  • key
    The key whose hash value is to be calculated.

Return Value

The Key's hash value

Remarks

The following table shows other member functions that are similar to CMapStringToOb::HashKey.

Class

Member Function

CMapPtrToPtr

UINT HashKey( void* key ) const;

CMapPtrToWord

UINT HashKey( void* key ) const;

CMapStringToString

UINT HashKey( LPCTSTR key ) const;

CMapStringToPtr

UINT HashKey( LPCTSTR key ) const;

CMapWordToOb

UINT HashKey( WORD key ) const;

CMapWordToPtr

UINT HashKey( WORD key ) const;

Requirements

Header: afxcoll.h

See Also

Reference

CMapStringToOb Class

Hierarchy Chart