Back to index

lightning-sunbird  0.9+nobinonly
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Private Attributes
nsVoidHashKey Class Reference

#include <nsAccessNode.h>

Inheritance diagram for nsVoidHashKey:
Inheritance graph
Collaboration diagram for nsVoidHashKey:
Collaboration graph

List of all members.

Public Types

typedef const voidKeyType
typedef const voidKeyTypePointer

Public Member Functions

 nsVoidHashKey (KeyTypePointer aKey)
 nsVoidHashKey (const nsVoidHashKey &toCopy)
 ~nsVoidHashKey ()
KeyType GetKey () const
KeyTypePointer GetKeyPointer () const
PRBool KeyEquals (KeyTypePointer aKey) const

Static Public Member Functions

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

Public Attributes

PLDHashNumber keyHash

Private Attributes

const voidmValue

Detailed Description

Definition at line 72 of file nsAccessNode.h.

Member Typedef Documentation

Definition at line 75 of file nsAccessNode.h.

Definition at line 76 of file nsAccessNode.h.

Member Enumeration Documentation

anonymous enum

Definition at line 88 of file nsAccessNode.h.

Constructor & Destructor Documentation

Definition at line 78 of file nsAccessNode.h.

: mValue(aKey) { }

Definition at line 79 of file nsAccessNode.h.

: mValue(toCopy.mValue) { }

Definition at line 80 of file nsAccessNode.h.

{ }

Member Function Documentation

KeyType nsVoidHashKey::GetKey ( ) const [inline]

Definition at line 82 of file nsAccessNode.h.

{ return mValue; }

Definition at line 83 of file nsAccessNode.h.

{ return mValue; }
static PLDHashNumber nsVoidHashKey::HashKey ( KeyTypePointer  aKey) [inline, static]

Definition at line 87 of file nsAccessNode.h.

{ return NS_PTR_TO_INT32(aKey) >> 2; }

Definition at line 84 of file nsAccessNode.h.

{ return aKey == mValue; }
static KeyTypePointer nsVoidHashKey::KeyToPointer ( KeyType  aKey) [inline, static]

Definition at line 86 of file nsAccessNode.h.

{ return aKey; }

Member Data Documentation

Definition at line 113 of file pldhash.h.

Definition at line 91 of file nsAccessNode.h.

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