nsVoidPtrHashKey Class Reference

#include <nsHashKeys.h>

Inheritance diagram for nsVoidPtrHashKey:

Inheritance graph
[legend]
Collaboration diagram for nsVoidPtrHashKey:

Collaboration graph
[legend]

List of all members.


Detailed Description

See also:
nsTHashtable::EntryType for specification

Public Types

enum  { ALLOW_MEMMOVE = PR_TRUE }
typedef const void * KeyType
typedef const void * KeyTypePointer

Public Member Functions

 nsVoidPtrHashKey (const void *key)
 nsVoidPtrHashKey (const nsVoidPtrHashKey &toCopy)
 ~nsVoidPtrHashKey ()
KeyType GetKey () const
PRBool KeyEquals (KeyTypePointer aKey) const

Static Public Member Functions

static KeyTypePointer KeyToPointer (KeyType aKey)
static PLDHashNumber HashKey (KeyTypePointer aKey)

Member Typedef Documentation


Member Enumeration Documentation

anonymous enum

Enumerator:
ALLOW_MEMMOVE 


Constructor & Destructor Documentation

nsVoidPtrHashKey::nsVoidPtrHashKey ( const void *  key  )  [inline]

nsVoidPtrHashKey::nsVoidPtrHashKey ( const nsVoidPtrHashKey toCopy  )  [inline]

nsVoidPtrHashKey::~nsVoidPtrHashKey (  )  [inline]


Member Function Documentation

KeyType nsVoidPtrHashKey::GetKey (  )  const [inline]

PRBool nsVoidPtrHashKey::KeyEquals ( KeyTypePointer  aKey  )  const [inline]

static KeyTypePointer nsVoidPtrHashKey::KeyToPointer ( KeyType  aKey  )  [inline, static]

static PLDHashNumber nsVoidPtrHashKey::HashKey ( KeyTypePointer  aKey  )  [inline, static]


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

Generated Mozilla by doxygen 1.5.6