Shaka Player Embedded
|
#include <cursor.h>
Public Member Functions | |
IDBCursor (RefPtr< IDBObjectStore > source, IDBCursorDirection dir) | |
void | Trace (memory::HeapTracer *tracer) const override |
ExceptionOr< void > | Continue (optional< Any > key) |
ExceptionOr< RefPtr< IDBRequest > > | Delete () |
![]() | |
BackingObject () | |
void | Trace (memory::HeapTracer *tracer) const override |
bool | IsRootedAlive () const override |
std::string | name () const |
virtual BackingObjectFactoryBase * | factory () const =0 |
bool | DerivedFrom (const std::string &base) |
ReturnVal< JsValue > | JsThis () const |
void | SetJsThis (Handle< JsObject > this_) |
![]() | |
virtual | ~Traceable () |
virtual bool | IsShortLived () const |
Public Attributes | |
const Member< IDBObjectStore > | source |
Member< IDBIterateCursorRequest > | request |
const IDBCursorDirection | direction |
optional< IdbKeyType > | key |
Any | value |
bool | got_value = false |
Additional Inherited Members | |
![]() | |
static void * | operator new[] (size_t size)=delete |
static void | operator delete[] (void *)=delete |
![]() | |
static constexpr const size_t | kInternalFieldCount = 2 |
![]() | |
static constexpr const uint64_t | kShortLiveDurationMs = 5000 |
![]() | |
~BackingObject () override | |
shaka::js::idb::IDBCursor::IDBCursor | ( | RefPtr< IDBObjectStore > | source, |
IDBCursorDirection | dir | ||
) |
ExceptionOr< void > shaka::js::idb::IDBCursor::Continue | ( | optional< Any > | key | ) |
ExceptionOr< RefPtr< IDBRequest > > shaka::js::idb::IDBCursor::Delete | ( | ) |
|
overridevirtual |
Called during a GC run. This should call HeapTracer::Trace on all Traceable members. Be sure to call the base method when overriding.
Implements shaka::memory::Traceable.
const IDBCursorDirection shaka::js::idb::IDBCursor::direction |
optional<IdbKeyType> shaka::js::idb::IDBCursor::key |
Member<IDBIterateCursorRequest> shaka::js::idb::IDBCursor::request |
const Member<IDBObjectStore> shaka::js::idb::IDBCursor::source |