Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

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. =========================================================================


Field Summary
 static const size_t initial_entries
          
 
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
          
 

Field Detail

initial_entries

public static const size_t initial_entries;


Method Detail

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;

 Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
Generated on September 04, 2007 at 18:13
CppDoc v2.4.0
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD