ACE  6.2.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ACE_Hashable Class Referenceabstract

ACE_Hashable. More...

#include <Hashable.h>

Inheritance diagram for ACE_Hashable:
Inheritance graph
[legend]

Public Member Functions

virtual ~ACE_Hashable (void)
 Destructor. More...
 
virtual unsigned long hash (void) const
 

Protected Member Functions

 ACE_Hashable (void)
 Protected constructor. More...
 
virtual unsigned long hash_i (void) const =0
 

Protected Attributes

unsigned long hash_value_
 Pre-computed hash-value. More...
 

Detailed Description

ACE_Hashable.

Constructor & Destructor Documentation

ACE_Hashable::~ACE_Hashable ( void  )
virtual

Destructor.

ACE_Hashable::ACE_Hashable ( void  )
inlineprotected

Protected constructor.

Member Function Documentation

unsigned long ACE_Hashable::hash ( void  ) const
virtual

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

virtual unsigned long ACE_Hashable::hash_i ( void  ) const
protectedpure virtual

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

Implemented in ACE_Refcounted_Hash_Recyclable< T >.

Member Data Documentation

unsigned long ACE_Hashable::hash_value_
mutableprotected

Pre-computed hash-value.


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