API documentation  2.0rc1
Public Member Functions | List of all members
client::IDBObjectStore Class Reference

#include <clientlib.h>

Inherits client::Object.

Public Member Functions

bool get_autoIncrement ()
 
void set_autoIncrement (bool)
 
DOMStringListget_indexNames ()
 
Stringget_keyPath ()
 
Stringget_name ()
 
IDBTransactionget_transaction ()
 
IDBRequestadd (Object *value)
 
IDBRequestadd (Object *value, IDBKeyRange *key)
 
IDBRequestadd (Object *value, double key)
 
IDBRequestadd (Object *value, const String &key)
 
IDBRequestadd (Object *value, Date *key)
 
IDBRequestadd (Object *value, IDBArrayKey *key)
 
IDBRequestclear ()
 
IDBRequestcount ()
 
IDBRequestcount (IDBKeyRange *key)
 
IDBRequestcount (double key)
 
IDBRequestcount (const String &key)
 
IDBRequestcount (Date *key)
 
IDBRequestcount (IDBArrayKey *key)
 
IDBIndexcreateIndex (const String &name, const String &keyPath)
 
IDBIndexcreateIndex (const String &name, const String &keyPath, IDBIndexParameters *optionalParameters)
 
IDBIndexcreateIndex (const String &name, Array *keyPath)
 
IDBIndexcreateIndex (const String &name, Array *keyPath, IDBIndexParameters *optionalParameters)
 
IDBRequest_delete (IDBKeyRange *key)
 
IDBRequest_delete (double key)
 
IDBRequest_delete (const String &key)
 
IDBRequest_delete (Date *key)
 
IDBRequest_delete (IDBArrayKey *key)
 
void deleteIndex (const String &indexName)
 
IDBRequestget (Object *key)
 
IDBIndexindex (const String &name)
 
IDBRequestopenCursor ()
 
IDBRequestopenCursor (IDBKeyRange *range)
 
IDBRequestput (Object *value)
 
IDBRequestput (Object *value, IDBKeyRange *key)
 
IDBRequestput (Object *value, double key)
 
IDBRequestput (Object *value, const String &key)
 
IDBRequestput (Object *value, Date *key)
 
IDBRequestput (Object *value, IDBArrayKey *key)
 
IDBObjectStoreget_prototype ()
 
void set_prototype (IDBObjectStore *)
 
 IDBObjectStore ()
 
- Public Member Functions inherited from client::Object
 Object ()
 
template<typename T >
valueOf ()
 
 operator double () const
 
Objectoperator[] (const client::String &name) const
 
void set_ (const client::String &name, Object *v)
 
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type>
void set_ (const client::String &name, T v)
 
bool hasOwnProperty (const client::String &name)
 

Constructor & Destructor Documentation

◆ IDBObjectStore()

client::IDBObjectStore::IDBObjectStore ( )

Member Function Documentation

◆ _delete() [1/5]

IDBRequest* client::IDBObjectStore::_delete ( IDBKeyRange key)

◆ _delete() [2/5]

IDBRequest* client::IDBObjectStore::_delete ( double  key)

◆ _delete() [3/5]

IDBRequest* client::IDBObjectStore::_delete ( const String key)

◆ _delete() [4/5]

IDBRequest* client::IDBObjectStore::_delete ( Date key)

◆ _delete() [5/5]

IDBRequest* client::IDBObjectStore::_delete ( IDBArrayKey key)

◆ add() [1/6]

IDBRequest* client::IDBObjectStore::add ( Object value)

◆ add() [2/6]

IDBRequest* client::IDBObjectStore::add ( Object value,
IDBKeyRange key 
)

◆ add() [3/6]

IDBRequest* client::IDBObjectStore::add ( Object value,
double  key 
)

◆ add() [4/6]

IDBRequest* client::IDBObjectStore::add ( Object value,
const String key 
)

◆ add() [5/6]

IDBRequest* client::IDBObjectStore::add ( Object value,
Date key 
)

◆ add() [6/6]

IDBRequest* client::IDBObjectStore::add ( Object value,
IDBArrayKey key 
)

◆ clear()

IDBRequest* client::IDBObjectStore::clear ( )

◆ count() [1/6]

IDBRequest* client::IDBObjectStore::count ( )

◆ count() [2/6]

IDBRequest* client::IDBObjectStore::count ( IDBKeyRange key)

◆ count() [3/6]

IDBRequest* client::IDBObjectStore::count ( double  key)

◆ count() [4/6]

IDBRequest* client::IDBObjectStore::count ( const String key)

◆ count() [5/6]

IDBRequest* client::IDBObjectStore::count ( Date key)

◆ count() [6/6]

IDBRequest* client::IDBObjectStore::count ( IDBArrayKey key)

◆ createIndex() [1/4]

IDBIndex* client::IDBObjectStore::createIndex ( const String name,
const String keyPath 
)

◆ createIndex() [2/4]

IDBIndex* client::IDBObjectStore::createIndex ( const String name,
const String keyPath,
IDBIndexParameters optionalParameters 
)

◆ createIndex() [3/4]

IDBIndex* client::IDBObjectStore::createIndex ( const String name,
Array keyPath 
)

◆ createIndex() [4/4]

IDBIndex* client::IDBObjectStore::createIndex ( const String name,
Array keyPath,
IDBIndexParameters optionalParameters 
)

◆ deleteIndex()

void client::IDBObjectStore::deleteIndex ( const String indexName)

◆ get()

IDBRequest* client::IDBObjectStore::get ( Object key)

◆ get_autoIncrement()

bool client::IDBObjectStore::get_autoIncrement ( )

◆ get_indexNames()

DOMStringList* client::IDBObjectStore::get_indexNames ( )

◆ get_keyPath()

String* client::IDBObjectStore::get_keyPath ( )

◆ get_name()

String* client::IDBObjectStore::get_name ( )

◆ get_prototype()

IDBObjectStore* client::IDBObjectStore::get_prototype ( )

◆ get_transaction()

IDBTransaction* client::IDBObjectStore::get_transaction ( )

◆ index()

IDBIndex* client::IDBObjectStore::index ( const String name)

◆ openCursor() [1/2]

IDBRequest* client::IDBObjectStore::openCursor ( )

◆ openCursor() [2/2]

IDBRequest* client::IDBObjectStore::openCursor ( IDBKeyRange range)

◆ put() [1/6]

IDBRequest* client::IDBObjectStore::put ( Object value)

◆ put() [2/6]

IDBRequest* client::IDBObjectStore::put ( Object value,
IDBKeyRange key 
)

◆ put() [3/6]

IDBRequest* client::IDBObjectStore::put ( Object value,
double  key 
)

◆ put() [4/6]

IDBRequest* client::IDBObjectStore::put ( Object value,
const String key 
)

◆ put() [5/6]

IDBRequest* client::IDBObjectStore::put ( Object value,
Date key 
)

◆ put() [6/6]

IDBRequest* client::IDBObjectStore::put ( Object value,
IDBArrayKey key 
)

◆ set_autoIncrement()

void client::IDBObjectStore::set_autoIncrement ( bool  )

◆ set_prototype()

void client::IDBObjectStore::set_prototype ( IDBObjectStore )