Om  1.0.0
A universal framework for multimedia simulation
Public Member Functions | List of all members
om::data::HashCode Class Reference

A class that is used to represent and compute hash codes for arbitrary data. More...

#include <omHashCode.h>

Public Member Functions

template<typename DataType >
 HashCode (const DataType *data, Size number)
 Compute a hash code for the specified array of data values. More...
 
template<typename DataType >
 HashCode (const DataType *pointer)
 Compute a hash code for the specified pointer. More...
 
template<typename DataType1 , typename DataType2 >
 HashCode (const DataType1 *pointer1, const DataType2 *pointer2)
 Compute a hash code for the specified pair of pointers. More...
 
 HashCode (Hash hash1, Hash hash2)
 Compute a combined hash code from the two given hash code values. More...
 
 HashCode (Hash hash1, Hash hash2, Hash hash3)
 Compute a combined hash code from the three given hash code values. More...
 
 operator Hash () const
 Return the integer hash code value. More...
 

Detailed Description

A class that is used to represent and compute hash codes for arbitrary data.

Constructor & Destructor Documentation

template<typename DataType >
om::data::HashCode::HashCode ( const DataType *  data,
Size  number 
)
inline

Compute a hash code for the specified array of data values.

template<typename DataType >
om::data::HashCode::HashCode ( const DataType *  pointer)
inline

Compute a hash code for the specified pointer.

template<typename DataType1 , typename DataType2 >
om::data::HashCode::HashCode ( const DataType1 *  pointer1,
const DataType2 *  pointer2 
)
inline

Compute a hash code for the specified pair of pointers.

om::data::HashCode::HashCode ( Hash  hash1,
Hash  hash2 
)
inline

Compute a combined hash code from the two given hash code values.

om::data::HashCode::HashCode ( Hash  hash1,
Hash  hash2,
Hash  hash3 
)
inline

Compute a combined hash code from the three given hash code values.

Member Function Documentation

om::data::HashCode::operator Hash ( ) const
inline

Return the integer hash code value.


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