feisty meow concerns codebase  2.140
structures::astring_hasher Class Reference

#include <string_hasher.h>

Inheritance diagram for structures::astring_hasher:
Collaboration diagram for structures::astring_hasher:

Public Member Functions

virtual basis::un_int hash (const void *key_data, int key_length) const
 similar to string_hasher, but expects "key_data" as an astring pointer. More...
 
virtual hashing_algorithmclone () const
 implements cloning of the algorithm object. More...
 

Detailed Description

Definition at line 41 of file string_hasher.h.

Member Function Documentation

◆ clone()

hashing_algorithm * structures::astring_hasher::clone ( ) const
virtual

implements cloning of the algorithm object.

Implements structures::hashing_algorithm.

Definition at line 71 of file string_hasher.cpp.

◆ hash()

basis::un_int structures::astring_hasher::hash ( const void *  key_data,
int  key_length 
) const
virtual

similar to string_hasher, but expects "key_data" as an astring pointer.

Implements structures::hashing_algorithm.

Definition at line 74 of file string_hasher.cpp.

References structures::string_hasher::hash(), basis::astring::length(), and basis::astring::observe().


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