Back to index

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

#include <nsDOMStorage.h>

Inheritance diagram for nsDOMStorageEntry:
Inheritance graph
Collaboration diagram for nsDOMStorageEntry:
Collaboration graph

List of all members.

Public Types

typedef const voidKeyType
typedef const voidKeyTypePointer

Public Member Functions

 nsDOMStorageEntry (KeyTypePointer aStr)
 nsDOMStorageEntry (const nsDOMStorageEntry &aToCopy)
 ~nsDOMStorageEntry ()
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

Detailed Description

Definition at line 62 of file nsDOMStorage.h.

Member Typedef Documentation

typedef const void* nsVoidPtrHashKey::KeyType [inherited]

Definition at line 206 of file nsHashKeys.h.

Definition at line 207 of file nsHashKeys.h.

Member Enumeration Documentation

anonymous enum [inherited]

Definition at line 225 of file nsHashKeys.h.

Constructor & Destructor Documentation

Definition at line 221 of file nsDOMStorage.cpp.

Definition at line 226 of file nsDOMStorage.cpp.

  : nsVoidPtrHashKey(aToCopy), mStorage(nsnull)
  NS_ERROR("DOMStorage horked.");

Definition at line 232 of file nsDOMStorage.cpp.


Member Function Documentation

KeyType nsVoidPtrHashKey::GetKey ( void  ) const [inline, inherited]

Definition at line 215 of file nsHashKeys.h.

{ return mKey; }
KeyTypePointer nsVoidPtrHashKey::GetKeyPointer ( ) const [inline, inherited]

Definition at line 216 of file nsHashKeys.h.

{ return mKey; }
static PLDHashNumber nsVoidPtrHashKey::HashKey ( KeyTypePointer  aKey) [inline, static, inherited]

Definition at line 221 of file nsHashKeys.h.

    return NS_PTR_TO_INT32(aKey) >>2;
PRBool nsVoidPtrHashKey::KeyEquals ( KeyTypePointer  aKey) const [inline, inherited]

Definition at line 218 of file nsHashKeys.h.

{ return aKey == mKey; }
static KeyTypePointer nsVoidPtrHashKey::KeyToPointer ( KeyType  aKey) [inline, static, inherited]

Definition at line 220 of file nsHashKeys.h.

{ return aKey; }

Member Data Documentation

Definition at line 113 of file pldhash.h.

Definition at line 70 of file nsDOMStorage.h.

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