LeviLamina
Loading...
Searching...
No Matches
LevelStorageWriteBatch Class Reference

Classes

struct  BatchEntry
 
class  PerfContext
 

Public Types

using BatchContainerType = ::std::map<::std::string, ::LevelStorageWriteBatch::BatchEntry>
 
using iterator
 
using const_iterator
 

Public Member Functions

LevelStorageWriteBatchoperator= (LevelStorageWriteBatch const &)
 
 LevelStorageWriteBatch (LevelStorageWriteBatch const &)
 
virtual void putKey (::std::string const &key, ::std::string_view data, ::DBHelpers::Category category)
 
virtual void putKey (::std::string const &key, ::std::string const &data, ::DBHelpers::Category category)
 
virtual void putKey (::std::string const &key, ::std::string &&data, ::DBHelpers::Category category)
 
virtual void putKey (::std::string const &key, ::std::shared_ptr<::std::string > data, ::DBHelpers::Category category)
 
virtual void deleteKey (::std::string const &key, ::DBHelpers::Category category)
 
virtual void flush (::LevelStorage &db)
 
MCAPI LevelStorageWriteBatch (::LevelStorageWriteBatch &&rhs)
 
MCAPI void clear ()
 
MCAPI void * $ctor (::LevelStorageWriteBatch &&rhs)
 
MCAPI void $dtor ()
 
MCAPI void $putKey (::std::string const &key, ::std::string_view data, ::DBHelpers::Category category)
 
MCAPI void $putKey (::std::string const &key, ::std::string const &data, ::DBHelpers::Category category)
 
MCAPI void $putKey (::std::string const &key, ::std::string &&data, ::DBHelpers::Category category)
 
MCAPI void $putKey (::std::string const &key, ::std::shared_ptr<::std::string > data, ::DBHelpers::Category category)
 
MCAPI void $deleteKey (::std::string const &key, ::DBHelpers::Category category)
 
MCAPI void $flush (::LevelStorage &db)
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector<::std::function< void()> > > mFlushCallbacks
 
::ll::TypedStorage< 8, 16, ::std::map<::std::string, ::LevelStorageWriteBatch::BatchEntry > > mBatch
 
::ll::TypedStorage< 8, 80, ::Bedrock::Threading::MutexmFlushCallbacksMutex
 

Member Typedef Documentation

◆ iterator

using LevelStorageWriteBatch::iterator
Initial value:
::std::_Tree_iterator<::std::_Tree_val<
::std::_Tree_simple_types<::std::pair<::std::string const, ::LevelStorageWriteBatch::BatchEntry>>>>

◆ const_iterator

using LevelStorageWriteBatch::const_iterator
Initial value:
::std::_Tree_const_iterator<::std::_Tree_val<
::std::_Tree_simple_types<::std::pair<::std::string const, ::LevelStorageWriteBatch::BatchEntry>>>>

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