Oracle Coherence for C++ API
Release 3.7.1.0

E22845-01

adapter_map::hasher Class Reference

#include <coherence/stl/adapter_map.hpp>

List of all members.


Detailed Description

template<class K, class V>
class coherence::stl::adapter_map< K, V >::hasher

Hasher function.

A function object that takes a single argument of type key_type and returns a value of type size32_t.
 

Public Member Functions

size32_t operator() (const key_type &k) const
 Determine a hash code corresponding to a given key object.


Member Function Documentation

size32_t operator() ( const key_type k  )  const [inline]

Determine a hash code corresponding to a given key object.

Parameters:
 k the handle to the key Object, may be NULL.
Returns:
a hash code of the key object, or 0 if NULL handle was provided


The documentation for this class was generated from the following file:
Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.