regina::HashString Struct Reference
[General Utility Classes]

A hash function used to calculate hash values for C++ strings. More...

#include <hashutils.h>

List of all members.

Public Member Functions

size_t operator() (const std::string &str) const
 Returns a hash value for the given string.


Detailed Description

A hash function used to calculate hash values for C++ strings.

This class is for use with the Standard Template Library.

Python:
Not present.


Member Function Documentation

size_t regina::HashString::operator() ( const std::string &  str  )  const [inline]

Returns a hash value for the given string.

Parameters:
str the string whose hash value should be calculated.
Returns:
the corresponding hash value.


The documentation for this struct was generated from the following file:
Copyright © 1999-2006, Ben Burton
This software is released under the GNU General Public License.
For further information, or to submit a bug or other problem, please contact Ben Burton (bab@debian.org).