Back to index

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

#include <nsDOMStorage.h>

Inheritance diagram for nsDOMStorageItem:
Inheritance graph
Collaboration diagram for nsDOMStorageItem:
Collaboration graph

List of all members.

Public Member Functions

 nsDOMStorageItem (nsDOMStorage *aStorage, const nsAString &aKey, const nsAString &aValue, PRBool aSecure)
virtual ~nsDOMStorageItem ()
IsSecure ()
void SetSecureInternal (PRBool aSecure)
const nsAString & GetValueInternal ()
const void SetValueInternal (const nsAString &aValue)
void ClearValue ()
DOMString toString ()

Public Attributes

attribute boolean secure
 Indicates whether a key is available only in a secure context.
attribute DOMString value
 The value associated with the item.

Protected Attributes

PRBool mSecure
nsString mKey
nsString mValue
nsRefPtr< nsDOMStoragemStorage

Detailed Description

Definition at line 248 of file nsDOMStorage.h.

Constructor & Destructor Documentation

NS_INTERFACE_MAP_END nsDOMStorageItem::nsDOMStorageItem ( nsDOMStorage aStorage,
const nsAString &  aKey,
const nsAString &  aValue,
PRBool  aSecure 

Definition at line 1042 of file nsDOMStorage.cpp.

  : mSecure(aSecure),

Definition at line 1053 of file nsDOMStorage.cpp.


Member Function Documentation

Definition at line 287 of file nsDOMStorage.h.

const nsAString& nsDOMStorageItem::GetValueInternal ( ) [inline]

Definition at line 277 of file nsDOMStorage.h.

    return mValue;

Definition at line 267 of file nsDOMStorage.h.

    return mSecure;

Definition at line 272 of file nsDOMStorage.h.

    mSecure = aSecure;
const void nsDOMStorageItem::SetValueInternal ( const nsAString &  aValue) [inline]

Definition at line 282 of file nsDOMStorage.h.

    mValue = aValue;
DOMString nsIDOMToString::toString ( ) [inherited]

Member Data Documentation

Definition at line 298 of file nsDOMStorage.h.

Definition at line 295 of file nsDOMStorage.h.

Definition at line 305 of file nsDOMStorage.h.

Definition at line 301 of file nsDOMStorage.h.

Indicates whether a key is available only in a secure context.

Definition at line 54 of file nsIDOMStorageItem.idl.

attribute DOMString nsIDOMStorageItem::value [inherited]

The value associated with the item.

Definition at line 59 of file nsIDOMStorageItem.idl.

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