Shaka Player Embedded
Public Member Functions | List of all members
shaka::js::idb::IDBObjectStoreParameters Struct Reference

#include <database.h>

Inheritance diagram for shaka::js::idb::IDBObjectStoreParameters:
shaka::Struct shaka::GenericConverter shaka::memory::Traceable

Public Member Functions

 DECLARE_STRUCT_SPECIAL_METHODS_COPYABLE (IDBObjectStoreParameters)
 
 ADD_DICT_FIELD (keyPath, std::string)
 
 ADD_DICT_FIELD (autoIncrement, bool)
 
- Public Member Functions inherited from shaka::Struct
 Struct ()
 
 ~Struct () override
 
 Struct (const Struct &)
 
 Struct (Struct &&)
 
Structoperator= (const Struct &)
 
Structoperator= (Struct &&)
 
bool TryConvert (Handle< JsValue > value) override
 
ReturnVal< JsValue > ToJsValue () const override
 
void Trace (memory::HeapTracer *tracer) const override
 
- Public Member Functions inherited from shaka::GenericConverter
virtual ~GenericConverter ()
 
- Public Member Functions inherited from shaka::memory::Traceable
virtual ~Traceable ()
 
virtual bool IsRootedAlive () const
 
virtual bool IsShortLived () const
 

Additional Inherited Members

- Static Public Attributes inherited from shaka::memory::Traceable
static constexpr const uint64_t kShortLiveDurationMs = 5000
 
- Protected Member Functions inherited from shaka::Struct
template<typename Parent , typename Field >
Field CreateFieldConverter (const std::string &name, Field Parent::*field)
 

Detailed Description

Definition at line 40 of file database.h.

Member Function Documentation

§ ADD_DICT_FIELD() [1/2]

shaka::js::idb::IDBObjectStoreParameters::ADD_DICT_FIELD ( keyPath  ,
std::string   
)

§ ADD_DICT_FIELD() [2/2]

shaka::js::idb::IDBObjectStoreParameters::ADD_DICT_FIELD ( autoIncrement  ,
bool   
)

§ DECLARE_STRUCT_SPECIAL_METHODS_COPYABLE()

shaka::js::idb::IDBObjectStoreParameters::DECLARE_STRUCT_SPECIAL_METHODS_COPYABLE ( IDBObjectStoreParameters  )

The documentation for this struct was generated from the following file: