The ChainCon Software (Release 0.03)
Functions
stringhash.h File Reference

Hashing keys for std::string. More...

#include <string>
#include "chomp/system/config.h"

Go to the source code of this file.

Functions

int_t hashkey1 (const std::string &s)
 Creates a generic hashing key no. More...
 
int_t hashkey2 (const std::string &s)
 Creates a generic hashing key no. More...
 

Detailed Description

Hashing keys for std::string.

Definition in file stringhash.h.

Function Documentation

◆ hashkey1()

int_t hashkey1 ( const std::string &  s)
inline

Creates a generic hashing key no.

1 for the standard string type, to be used in a hashed set.

Definition at line 44 of file stringhash.h.

◆ hashkey2()

int_t hashkey2 ( const std::string &  s)
inline

Creates a generic hashing key no.

1 for the standard string type, to be used in a hashed set.

Definition at line 69 of file stringhash.h.