|
Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
Utilities for generating hashcodes. More...
#include <Teuchos_HashUtils.hpp>
Static Public Member Functions | |
| static int | nextPrime (int newCapacity) |
Static Private Attributes | |
| static const int | primeCount_ = 33 |
| static const int | primes_ [] |
Related Functions | |
(Note that these are not member functions.) | |
| template<class T > | |
| int | hashCode (const T &x) |
| Standard interface for getting the hash code of an object. More... | |
| template<> | |
| int | hashCode (const int &x) |
| Get the hash code of an int. More... | |
| template<> | |
| int | hashCode (const double &x) |
| Get the hash code of a double. More... | |
| template<> | |
| int | hashCode (const bool &x) |
| Get the hash code of a bool. More... | |
| template<> | |
| int | hashCode (const long long &x) |
| Get the hash code of a long long. More... | |
| template<> | |
| int | hashCode (const long &x) |
| Get the hash code of a long. More... | |
| template<> | |
| int | hashCode (const std::string &x) |
| Get the hash code of a std::string. More... | |
Utilities for generating hashcodes.
Definition at line 60 of file Teuchos_HashUtils.hpp.
|
static |
Definition at line 57 of file Teuchos_HashUtils.cpp.
|
related |
Standard interface for getting the hash code of an object.
|
related |
Get the hash code of an int.
Definition at line 87 of file Teuchos_HashUtils.hpp.
|
related |
Get the hash code of a double.
Definition at line 95 of file Teuchos_HashUtils.hpp.
|
related |
Get the hash code of a bool.
Definition at line 103 of file Teuchos_HashUtils.hpp.
|
related |
Get the hash code of a long long.
Definition at line 111 of file Teuchos_HashUtils.hpp.
|
related |
Get the hash code of a long.
Definition at line 119 of file Teuchos_HashUtils.hpp.
|
related |
Get the hash code of a std::string.
Definition at line 127 of file Teuchos_HashUtils.hpp.
|
staticprivate |
Definition at line 70 of file Teuchos_HashUtils.hpp.
|
staticprivate |
Definition at line 71 of file Teuchos_HashUtils.hpp.
1.8.11