Back to index

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

#include <nsAbOSXDirectory.h>

Inheritance diagram for nsIAbCardHashKey:
Inheritance graph
Collaboration diagram for nsIAbCardHashKey:
Collaboration graph

List of all members.

Public Types

typedef nsIAbCardKeyType
typedef const nsIAbCardKeyTypePointer

Public Member Functions

 nsIAbCardHashKey (const nsIAbCard *key)
 nsIAbCardHashKey (const nsIAbCardHashKey &toCopy)
 ~nsIAbCardHashKey ()
KeyType GetCard () 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

nsCOMPtr< nsIAbCardmCard

Detailed Description

Definition at line 55 of file nsAbOSXDirectory.h.

Member Typedef Documentation

Definition at line 58 of file nsAbOSXDirectory.h.

Definition at line 59 of file nsAbOSXDirectory.h.

Member Enumeration Documentation

anonymous enum

Definition at line 95 of file nsAbOSXDirectory.h.

Constructor & Destructor Documentation

Definition at line 61 of file nsAbOSXDirectory.h.

        : mCard(NS_CONST_CAST(nsIAbCard*, key))

Definition at line 65 of file nsAbOSXDirectory.h.

        : mCard(toCopy.mCard)

Definition at line 69 of file nsAbOSXDirectory.h.


Member Function Documentation

KeyType nsIAbCardHashKey::GetCard ( ) const [inline]

Definition at line 73 of file nsAbOSXDirectory.h.

        return mCard;

Here is the caller graph for this function:

Definition at line 77 of file nsAbOSXDirectory.h.

        return mCard;
static PLDHashNumber nsIAbCardHashKey::HashKey ( KeyTypePointer  aKey) [inline, static]

Definition at line 91 of file nsAbOSXDirectory.h.

        return NS_PTR_TO_INT32(aKey) >> 2;

Definition at line 82 of file nsAbOSXDirectory.h.

        return aKey == mCard;
static KeyTypePointer nsIAbCardHashKey::KeyToPointer ( KeyType  aKey) [inline, static]

Definition at line 87 of file nsAbOSXDirectory.h.

        return aKey;

Member Data Documentation

Definition at line 113 of file pldhash.h.

Definition at line 98 of file nsAbOSXDirectory.h.

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