#include <hashVal.h>
Public Member Functions | |
HashVal () | |
HashVal (const HashVal ©) | |
bool | operator== (const HashVal &other) const |
bool | operator!= (const HashVal &other) const |
uint | get_value (int val) const |
Returns the integer value of the indicated component. | |
void | set_value (int val, uint hash) |
Sets the hash value at index val. | |
void | output (ostream &out) const |
The output method does not itself output enclosing brackets, but the ostream operator << does. | |
string | as_string () const |
Returns the HashVal as a string with four numbers. | |
Public Attributes | |
uint | hv [4] |
Definition at line 36 of file hashVal.h.
|
|
|
|
|
Returns the HashVal as a string with four numbers.
Definition at line 34 of file hashVal.cxx. |
|
Returns the integer value of the indicated component.
Definition at line 86 of file hashVal.I. References hv. |
|
Definition at line 73 of file hashVal.I. References hv. |
|
Definition at line 58 of file hashVal.I. References INLINE. |
|
The output method does not itself output enclosing brackets, but the ostream operator << does.
|
|
Sets the hash value at index val.
|
|
Definition at line 49 of file hashVal.h. Referenced by get_value(), HashVal(), and operator!=(). |