ITK
4.8.0
Insight Segmentation and Registration Toolkit
|
#include <itkStructHashFunction.h>
Generic hash function for an arbitrary struct (or class).
This regards the input key as a string of bytes, and applies a hash function similar to one that has been used in perl. If the data in the input key has pointers to other classes, then the function will be hashing on the value of the pointer itself, not on the data it points to. It is imagined that this function will be used more for structs (with fully exposed data) than for general classes.
Definition at line 40 of file itkStructHashFunction.h.
Public Types | |
typedef TInput | InputType |
typedef StructHashFunction | Self |
Public Member Functions | |
IdentifierType | operator() (const InputType &key) const |
typedef TInput itk::StructHashFunction< TInput >::InputType |
Input type
Definition at line 48 of file itkStructHashFunction.h.
typedef StructHashFunction itk::StructHashFunction< TInput >::Self |
Standard class typedefs.
Definition at line 45 of file itkStructHashFunction.h.
|
inline |
Definition at line 56 of file itkStructHashFunction.h.