Main Page   Class Hierarchy   Compound List   File List   Compound Members  

HashCMStateSet Class Reference

Inheritance diagram for HashCMStateSet:

HashBase List of all members.

Public Methods

virtual unsigned int getHashVal (const void *const key, unsigned int mod)
virtual bool equals (const void *const key1, const void *const key2)

Detailed Description

The HashCMStateSet class inherits from HashBase. This is a CMStateSet specific hasher class designed to hash the values of CMStateSet.

See HashBase for more information.


Member Function Documentation

bool HashCMStateSet::equals const void *const    key1,
const void *const    key2
[inline, virtual]
 

Compares two keys and determines if they are semantically equal

Parameters:
key1 the first key to be compared
key2 the second key to be compared
Returns:
true if they are equal

Implements HashBase.

unsigned int HashCMStateSet::getHashVal const void *const    key,
unsigned int    mod
[inline, virtual]
 

Returns a hash value based on the key

Parameters:
key the key to be hashed
mod the modulus the hasher should use

Implements HashBase.


The documentation for this class was generated from the following file:
Generated on Tue Nov 19 09:36:41 2002 by doxygen1.3-rc1