Public Member Functions | Static Public Member Functions | Private Attributes

key_wrapper Class Reference

#include <ut_hash.h>

List of all members.

Public Member Functions

 key_wrapper ()
void die ()
bool eq (const UT_String &key) const
bool eq (const char *key) const
void operator= (const UT_String &k)
UT_uint32 hashval () const
void set_hashval (UT_uint32 h)
UT_Stringvalue (void)
void operator= (const key_wrapper &rhs)

Static Public Member Functions

static UT_uint32 compute_hash (const UT_String &key)
static UT_uint32 compute_hash (const char *key)

Private Attributes

UT_String m_val
UT_uint32 m_hashval

Constructor & Destructor Documentation

key_wrapper::key_wrapper (  )  [inline]

Member Function Documentation

static UT_uint32 key_wrapper::compute_hash ( const UT_String key  )  [inline, static]
static UT_uint32 key_wrapper::compute_hash ( const char *  key  )  [inline, static]

References hashcode().

void key_wrapper::die (  )  [inline]
bool key_wrapper::eq ( const UT_String key  )  const [inline]
bool key_wrapper::eq ( const char *  key  )  const [inline]
UT_uint32 key_wrapper::hashval (  )  const [inline]
void key_wrapper::operator= ( const key_wrapper rhs  )  [inline]

References m_hashval, and m_val.

void key_wrapper::operator= ( const UT_String k  )  [inline]
void key_wrapper::set_hashval ( UT_uint32  h  )  [inline]
UT_String& key_wrapper::value ( void   )  [inline]

Member Data Documentation

Referenced by operator=().

Referenced by operator=().


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