lib
Class DHT_Traits
in adts.h
- template < typename Key , typename T > class DHT_Traits
=========================================================================
File : adts.h
Project : 0 A.D.
Description : useful Abstract Data Types not provided by STL.
=========================================================================
Method Summary |
bool |
equal( Key k1, Key k2 ) const
|
bool |
equal( const char* k1, const char* k2 ) const
|
Key |
get_key( T t ) const
|
const char* |
get_key( const char* t ) const
|
size_t |
hash( const char* key ) const
|
size_t |
hash( Key key ) const
|
initial_entries
public static const size_t initial_entries;
equal
public bool equal( Key k1, Key k2 ) const;
equal
public bool equal( const char* k1, const char* k2 ) const;
get_key
public Key get_key( T t ) const;
get_key
public const char* get_key( const char* t ) const;
hash
public size_t hash( const char* key ) const;
hash
public size_t hash( Key key ) const;