webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | Static Public Member Functions | List of all members
WebCore::Storage Class Reference

#include <Storage.h>

Inheritance diagram for WebCore::Storage:
WebCore::ScriptWrappable WTF::RefCounted< Storage > WebCore::DOMWindowProperty WebCore::ScriptWrappable WTF::RefCounted< Storage > WebCore::DOMWindowProperty WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase

Public Member Functions

 ~Storage ()
 
ExceptionOr< unsigned > length () const
 
ExceptionOr< Stringkey (unsigned index) const
 
ExceptionOr< StringgetItem (const String &key) const
 
ExceptionOr< voidsetItem (const String &key, const String &value)
 
ExceptionOr< voidremoveItem (const String &key)
 
ExceptionOr< voidclear ()
 
ExceptionOr< bool > contains (const String &key) const
 
StorageAreaarea () const
 
 ~Storage ()
 
ExceptionOr< unsigned > length () const
 
ExceptionOr< Stringkey (unsigned index) const
 
ExceptionOr< StringgetItem (const String &key) const
 
ExceptionOr< voidsetItem (const String &key, const String &value)
 
ExceptionOr< voidremoveItem (const String &key)
 
ExceptionOr< voidclear ()
 
ExceptionOr< bool > contains (const String &key) const
 
StorageAreaarea () const
 
- Public Member Functions inherited from WebCore::ScriptWrappable
JSDOMObjectwrapper () const
 
void setWrapper (JSDOMObject *, JSC::WeakHandleOwner *, void *)
 
void clearWrapper (JSDOMObject *)
 
JSDOMObjectwrapper () const
 
void setWrapper (JSDOMObject *, JSC::WeakHandleOwner *, void *)
 
void clearWrapper (JSDOMObject *)
 
- Public Member Functions inherited from WTF::RefCounted< Storage >
void deref () const
 
void deref () const
 
void deref () const
 
- Public Member Functions inherited from WTF::RefCountedBase
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
- Public Member Functions inherited from WebCore::DOMWindowProperty
 DOMWindowProperty (Frame *)
 
virtual void disconnectFrameForDocumentSuspension ()
 
virtual void reconnectFrameFromDocumentSuspension (Frame *)
 
virtual void willDestroyGlobalObjectInCachedFrame ()
 
virtual void willDestroyGlobalObjectInFrame ()
 
virtual void willDetachGlobalObjectFromFrame ()
 
Frameframe () const
 
 DOMWindowProperty (Frame *)
 
virtual void disconnectFrameForDocumentSuspension ()
 
virtual void reconnectFrameFromDocumentSuspension (Frame *)
 
virtual void willDestroyGlobalObjectInCachedFrame ()
 
virtual void willDestroyGlobalObjectInFrame ()
 
virtual void willDetachGlobalObjectFromFrame ()
 
Frameframe () const
 

Static Public Member Functions

static Ref< Storagecreate (Frame *, RefPtr< StorageArea > &&)
 
static Ref< Storagecreate (Frame *, RefPtr< StorageArea > &&)
 
- Static Public Member Functions inherited from WebCore::ScriptWrappable
template<typename Derived >
static ptrdiff_t offsetOfWrapper ()
 
template<typename Derived >
static ptrdiff_t offsetOfWrapper ()
 

Additional Inherited Members

- Protected Member Functions inherited from WebCore::ScriptWrappable
 ~ScriptWrappable ()
 
 ~ScriptWrappable ()
 
- Protected Member Functions inherited from WTF::RefCounted< Storage >
 RefCounted ()
 
 RefCounted ()
 
 RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
- Protected Member Functions inherited from WTF::RefCountedBase
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
- Protected Member Functions inherited from WebCore::DOMWindowProperty
virtual ~DOMWindowProperty ()
 
virtual ~DOMWindowProperty ()
 
- Protected Attributes inherited from WebCore::DOMWindowProperty
Framem_frame
 
DOMWindowm_associatedDOMWindow
 

Constructor & Destructor Documentation

◆ ~Storage() [1/2]

Storage::~Storage ( )

◆ ~Storage() [2/2]

WebCore::Storage::~Storage ( )

Member Function Documentation

◆ area() [1/2]

StorageArea& WebCore::Storage::area ( ) const
inline

◆ area() [2/2]

StorageArea& WebCore::Storage::area ( ) const
inline

◆ clear() [1/2]

ExceptionOr< void > Storage::clear ( )

◆ clear() [2/2]

ExceptionOr<void> WebCore::Storage::clear ( )

◆ contains() [1/2]

ExceptionOr<bool> WebCore::Storage::contains ( const String key) const

◆ contains() [2/2]

ExceptionOr< bool > Storage::contains ( const String key) const

◆ create() [1/2]

static Ref<Storage> WebCore::Storage::create ( Frame ,
RefPtr< StorageArea > &&   
)
static

◆ create() [2/2]

Ref< Storage > Storage::create ( Frame frame,
RefPtr< StorageArea > &&  storageArea 
)
static

◆ getItem() [1/2]

ExceptionOr< String > Storage::getItem ( const String key) const

◆ getItem() [2/2]

ExceptionOr<String> WebCore::Storage::getItem ( const String key) const

◆ key() [1/2]

ExceptionOr<String> WebCore::Storage::key ( unsigned  index) const

◆ key() [2/2]

ExceptionOr< String > Storage::key ( unsigned  index) const

◆ length() [1/2]

ExceptionOr< unsigned > Storage::length ( void  ) const

◆ length() [2/2]

ExceptionOr<unsigned> WebCore::Storage::length ( ) const

◆ removeItem() [1/2]

ExceptionOr<void> WebCore::Storage::removeItem ( const String key)

◆ removeItem() [2/2]

ExceptionOr< void > Storage::removeItem ( const String key)

◆ setItem() [1/2]

ExceptionOr<void> WebCore::Storage::setItem ( const String key,
const String value 
)

◆ setItem() [2/2]

ExceptionOr< void > Storage::setItem ( const String key,
const String value 
)

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