Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Protected Attributes
nsPRUint32Key Class Reference

#include <nsHashtable.h>

List of all members.

Public Member Functions

 nsPRUint32Key (PRUint32 key)
PRUint32 HashCode (void) const
PRBool Equals (const nsHashKey *aKey) const
nsHashKey * Clone () const
PRUint32 GetValue ()

Protected Attributes

PRUint32 mKey

Detailed Description

Definition at line 279 of file nsHashtable.h.


Constructor & Destructor Documentation

Definition at line 283 of file nsHashtable.h.

                                {
#ifdef DEBUG
        mKeyType = PRUint32Key;
#endif
        mKey = key;
    }

Here is the caller graph for this function:


Member Function Documentation

nsHashKey* nsPRUint32Key::Clone ( void  ) const [inline]

Definition at line 297 of file nsHashtable.h.

                             {
        return new nsPRUint32Key(mKey);
    }

Here is the call graph for this function:

PRBool nsPRUint32Key::Equals ( const nsHashKey *  aKey) const [inline]

Definition at line 294 of file nsHashtable.h.

                                               {
        return mKey == ((const nsPRUint32Key *) aKey)->mKey;
    }

Definition at line 300 of file nsHashtable.h.

{ return mKey; }

Here is the caller graph for this function:

PRUint32 nsPRUint32Key::HashCode ( void  ) const [inline]

Definition at line 290 of file nsHashtable.h.

                                  {
        return mKey;
    }

Member Data Documentation

Definition at line 281 of file nsHashtable.h.


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