Public Types | Public Member Functions | Static Public Member Functions

nsHashableHashKey Class Reference

Hashtable key class to use with objects that support nsIHashable. More...

#include <nsHashKeys.h>

Inheritance diagram for nsHashableHashKey:
Collaboration diagram for nsHashableHashKey:

List of all members.

Public Types

enum  { ALLOW_MEMMOVE = 1 }
typedef nsIHashableKeyType
typedef const nsIHashableKeyTypePointer

Public Member Functions

 nsHashableHashKey (const nsIHashable *aKey)
 nsHashableHashKey (const nsHashableHashKey &toCopy)
 ~nsHashableHashKey ()
nsIHashableGetKey () const
PRBool KeyEquals (const nsIHashable *aKey) const

Static Public Member Functions

static const nsIHashableKeyToPointer (nsIHashable *aKey)
static PLDHashNumber HashKey (const nsIHashable *aKey)

Detailed Description

Hashtable key class to use with objects that support nsIHashable.


Member Typedef Documentation


Member Enumeration Documentation

anonymous enum
Enumerator:
ALLOW_MEMMOVE 

Constructor & Destructor Documentation

nsHashableHashKey::nsHashableHashKey ( const nsIHashable aKey  )  [inline]
nsHashableHashKey::nsHashableHashKey ( const nsHashableHashKey toCopy  )  [inline]
nsHashableHashKey::~nsHashableHashKey (  )  [inline]

Member Function Documentation

nsIHashable* nsHashableHashKey::GetKey (  )  const [inline]
static PLDHashNumber nsHashableHashKey::HashKey ( const nsIHashable aKey  )  [inline, static]
PRBool nsHashableHashKey::KeyEquals ( const nsIHashable aKey  )  const [inline]
static const nsIHashable* nsHashableHashKey::KeyToPointer ( nsIHashable aKey  )  [inline, static]

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