Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ACE_Hashable Class Reference

#include <Strategies.h>

Inheritance diagram for ACE_Hashable

Inheritance graph
[legend]
List of all members.

Public Methods

virtual ~ACE_Hashable (void)
 Destructor.

virtual u_long hash (void) const
 Computes and returns hash value. This "caches" the hash value to improve performance.


Protected Methods

 ACE_Hashable (void)
 Protected constructor.

virtual u_long hash_i (void) const = 0
 This is the method that actually performs the non-cached hash computation.


Protected Attributes

u_long hash_value_
 Pre-computed hash-value.


Constructor & Destructor Documentation

ACE_INLINE ACE_Hashable::~ACE_Hashable ( void ) [virtual]
 

Destructor.

ACE_INLINE ACE_Hashable::ACE_Hashable ( void ) [protected]
 

Protected constructor.


Member Function Documentation

ACE_INLINE u_long ACE_Hashable::hash ( void ) const [virtual]
 

Computes and returns hash value. This "caches" the hash value to improve performance.

u_long ACE_Hashable::hash_i ( void ) const [protected, pure virtual]
 

This is the method that actually performs the non-cached hash computation.

Reimplemented in ACE_Refcounted_Hash_Recyclable.


Member Data Documentation

u_long ACE_Hashable::hash_value_ [protected]
 

Pre-computed hash-value.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 10:30:48 2001 for ACE by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000