Oracle Coherence for C++ API
Release 3.6.0.0
E15728-01

- Main Page
- Namespaces
- Classes
- Files

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# TypedHandle::value_hash_functor Class Template Reference

`#include <coherence/lang/TypedHandle.hpp>`

List of all members.

## Detailed Description

### template<class T>
template<class RT>
class coherence::lang::TypedHandle< T >::value_hash_functor< RT >

Value based hash functor which is compatible with both the SGI and MS style hash containers.

## Public Member Functions
size32_t | operator() (const TypedHandle< RT > &h) const
| Hash computation function for MS and SGI style hash containers.
bool | operator() (const TypedHandle< RT > &h1, const TypedHandle< RT > &h2) const
| Ordering function for MS style hash containers.

## Member Function Documentation

size32_t operator() | ( | const TypedHandle< RT > & | h | ) | const `[inline]`

Hash computation function for MS and SGI style hash containers.

Parameters:

  | h | the handle to hash

Returns:
  the hash of the handle

bool operator() | ( | const TypedHandle< RT > & | h1,
|  | const TypedHandle< RT > & | h2 |
| ) |  |  | const `[inline]`

Ordering function for MS style hash containers.

Parameters:

  | h1 | the first handle to compare
  | h2 | the second handle to compare

Returns:
  true iff *h1 < *h2

The documentation for this class was generated from the following file:

- coherence/lang/TypedHandle.hpp

Copyright © 2000, 2010, Oracle and/or its affiliates. All rights reserved.