webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
WebCore::StorageMap Class Reference

#include <StorageMap.h>

Inheritance diagram for WebCore::StorageMap:
WTF::RefCounted< StorageMap > WTF::RefCounted< StorageMap > WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase

Public Member Functions

WEBCORE_EXPORT unsigned length () const
 
WEBCORE_EXPORT String key (unsigned index)
 
WEBCORE_EXPORT String getItem (const String &) const
 
WEBCORE_EXPORT RefPtr< StorageMapsetItem (const String &key, const String &value, String &oldValue, bool &quotaException)
 
WEBCORE_EXPORT RefPtr< StorageMapsetItemIgnoringQuota (const String &key, const String &value)
 
WEBCORE_EXPORT RefPtr< StorageMapremoveItem (const String &, String &oldValue)
 
WEBCORE_EXPORT bool contains (const String &key) const
 
WEBCORE_EXPORT void importItems (const HashMap< String, String > &)
 
const HashMap< String, String > & items () const
 
unsigned quota () const
 
WEBCORE_EXPORT unsigned length () const
 
WEBCORE_EXPORT String key (unsigned index)
 
WEBCORE_EXPORT String getItem (const String &) const
 
WEBCORE_EXPORT RefPtr< StorageMapsetItem (const String &key, const String &value, String &oldValue, bool &quotaException)
 
WEBCORE_EXPORT RefPtr< StorageMapsetItemIgnoringQuota (const String &key, const String &value)
 
WEBCORE_EXPORT RefPtr< StorageMapremoveItem (const String &, String &oldValue)
 
WEBCORE_EXPORT bool contains (const String &key) const
 
WEBCORE_EXPORT void importItems (const HashMap< String, String > &)
 
const HashMap< String, String > & items () const
 
unsigned quota () const
 
- Public Member Functions inherited from WTF::RefCounted< StorageMap >
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 ()
 

Static Public Member Functions

static WEBCORE_EXPORT Ref< StorageMapcreate (unsigned quotaSize)
 
static WEBCORE_EXPORT Ref< StorageMapcreate (unsigned quotaSize)
 

Static Public Attributes

static const constexpr unsigned noQuota = UINT_MAX
 

Additional Inherited Members

- Protected Member Functions inherited from WTF::RefCounted< StorageMap >
 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
 

Member Function Documentation

◆ contains() [1/2]

bool WebCore::StorageMap::contains ( const String key) const

◆ contains() [2/2]

WEBCORE_EXPORT bool WebCore::StorageMap::contains ( const String key) const

◆ create() [1/2]

Ref< StorageMap > WebCore::StorageMap::create ( unsigned  quotaSize)
static

◆ create() [2/2]

static WEBCORE_EXPORT Ref<StorageMap> WebCore::StorageMap::create ( unsigned  quotaSize)
static

◆ getItem() [1/2]

String WebCore::StorageMap::getItem ( const String key) const

◆ getItem() [2/2]

WEBCORE_EXPORT String WebCore::StorageMap::getItem ( const String ) const

◆ importItems() [1/2]

void WebCore::StorageMap::importItems ( const HashMap< String, String > &  items)

◆ importItems() [2/2]

WEBCORE_EXPORT void WebCore::StorageMap::importItems ( const HashMap< String, String > &  )

◆ items() [1/2]

const HashMap<String, String>& WebCore::StorageMap::items ( ) const
inline

◆ items() [2/2]

const HashMap<String, String>& WebCore::StorageMap::items ( ) const
inline

◆ key() [1/2]

String WebCore::StorageMap::key ( unsigned  index)

◆ key() [2/2]

WEBCORE_EXPORT String WebCore::StorageMap::key ( unsigned  index)

◆ length() [1/2]

unsigned WebCore::StorageMap::length ( void  ) const

◆ length() [2/2]

WEBCORE_EXPORT unsigned WebCore::StorageMap::length ( ) const

◆ quota() [1/2]

unsigned WebCore::StorageMap::quota ( ) const
inline

◆ quota() [2/2]

unsigned WebCore::StorageMap::quota ( ) const
inline

◆ removeItem() [1/2]

RefPtr< StorageMap > WebCore::StorageMap::removeItem ( const String key,
String oldValue 
)

◆ removeItem() [2/2]

WEBCORE_EXPORT RefPtr<StorageMap> WebCore::StorageMap::removeItem ( const String ,
String oldValue 
)

◆ setItem() [1/2]

RefPtr< StorageMap > WebCore::StorageMap::setItem ( const String key,
const String value,
String oldValue,
bool &  quotaException 
)

◆ setItem() [2/2]

WEBCORE_EXPORT RefPtr<StorageMap> WebCore::StorageMap::setItem ( const String key,
const String value,
String oldValue,
bool &  quotaException 
)

◆ setItemIgnoringQuota() [1/2]

RefPtr< StorageMap > WebCore::StorageMap::setItemIgnoringQuota ( const String key,
const String value 
)

◆ setItemIgnoringQuota() [2/2]

WEBCORE_EXPORT RefPtr<StorageMap> WebCore::StorageMap::setItemIgnoringQuota ( const String key,
const String value 
)

Member Data Documentation

◆ noQuota

static const constexpr unsigned WebCore::StorageMap::noQuota = UINT_MAX
static

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