Back to index

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

#include <nsDOMStorage.h>

Inheritance diagram for nsSessionStorageEntry:
Inheritance graph
Collaboration diagram for nsSessionStorageEntry:
Collaboration graph

List of all members.

Public Types

typedef const nsAString & KeyType
typedef const nsAString * KeyTypePointer

Public Member Functions

 nsSessionStorageEntry (KeyTypePointer aStr)
 nsSessionStorageEntry (const nsSessionStorageEntry &aToCopy)
 ~nsSessionStorageEntry ()
KeyType GetKey () const
KeyTypePointer GetKeyPointer () const
PRBool KeyEquals (const KeyTypePointer aKey) const

Static Public Member Functions

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

Public Attributes

nsRefPtr< nsDOMStorageItemmItem
PLDHashNumber keyHash

Detailed Description

Definition at line 73 of file nsDOMStorage.h.

Member Typedef Documentation

typedef const nsAString& nsStringHashKey::KeyType [inherited]

Definition at line 82 of file nsHashKeys.h.

typedef const nsAString* nsStringHashKey::KeyTypePointer [inherited]

Definition at line 83 of file nsHashKeys.h.

Member Enumeration Documentation

anonymous enum [inherited]

Definition at line 101 of file nsHashKeys.h.

Constructor & Destructor Documentation

Definition at line 118 of file nsDOMStorage.cpp.

  : nsStringHashKey(aStr), mItem(nsnull)

Definition at line 123 of file nsDOMStorage.cpp.

  : nsStringHashKey(aToCopy), mItem(nsnull)
  NS_ERROR("We're horked.");

Definition at line 129 of file nsDOMStorage.cpp.


Member Function Documentation

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

Definition at line 89 of file nsHashKeys.h.

{ return mStr; }

Here is the caller graph for this function:

KeyTypePointer nsStringHashKey::GetKeyPointer ( ) const [inline, inherited]

Definition at line 90 of file nsHashKeys.h.

{ return &mStr; }

Here is the caller graph for this function:

static PLDHashNumber nsStringHashKey::HashKey ( const KeyTypePointer  aKey) [inline, static, inherited]

Reimplemented in GlobalFontEntry.

Definition at line 97 of file nsHashKeys.h.

    return HashString(*aKey);

Here is the call graph for this function:

PRBool nsStringHashKey::KeyEquals ( const KeyTypePointer  aKey) const [inline, inherited]

Reimplemented in GlobalFontEntry.

Definition at line 91 of file nsHashKeys.h.

    return mStr.Equals(*aKey);
static KeyTypePointer nsStringHashKey::KeyToPointer ( KeyType  aKey) [inline, static, inherited]

Definition at line 96 of file nsHashKeys.h.

{ return &aKey; }

Member Data Documentation

Definition at line 113 of file pldhash.h.

Definition at line 80 of file nsDOMStorage.h.

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