14class LevelStorageWriteBatch {
27 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::std::string>> mLatestValue;
28 ::ll::TypedStorage<1, 1, bool> mDeleted;
29 ::ll::TypedStorage<4, 4, ::DBHelpers::Category> mCategory;
49 ::ll::TypedStorage<8, 8, uint64> mOperation;
50 ::ll::TypedStorage<8, 8, uint64> mSize;
51 ::ll::TypedStorage<8, 32, ::std::string> mKey;
52 ::ll::TypedStorage<8, 8, char const*> mReason;
56 using BatchContainerType = ::std::map<::std::string, ::LevelStorageWriteBatch::BatchEntry>;
58 using const_iterator = ::std::_Tree_const_iterator<::std::_Tree_val<
59 ::std::_Tree_simple_types<::std::pair<::std::string const, ::LevelStorageWriteBatch::BatchEntry>>>>;
61 using iterator = ::std::_Tree_iterator<::std::_Tree_val<
62 ::std::_Tree_simple_types<::std::pair<::std::string const, ::LevelStorageWriteBatch::BatchEntry>>>>;
67 ::ll::TypedStorage<8, 24, ::std::vector<::std::function<void()>>> mFlushCallbacks;
68 ::ll::TypedStorage<8, 16, ::std::map<::std::string, ::LevelStorageWriteBatch::BatchEntry>> mBatch;
69 ::ll::TypedStorage<8, 80, ::Bedrock::Threading::Mutex> mFlushCallbacksMutex;
74 LevelStorageWriteBatch& operator=(LevelStorageWriteBatch
const&);
75 LevelStorageWriteBatch(LevelStorageWriteBatch
const&);
76 LevelStorageWriteBatch();
81 virtual ~LevelStorageWriteBatch();
83 virtual void putKey(::std::string
const& key, ::std::string_view data, ::DBHelpers::Category category);
85 virtual void putKey(::std::string
const& key, ::std::string
const& data, ::DBHelpers::Category category);
87 virtual void putKey(::std::string
const& key, ::std::string&& data, ::DBHelpers::Category category);
90 putKey(::std::string
const& key, ::std::shared_ptr<::std::string> data, ::DBHelpers::Category category);
92 virtual void deleteKey(::std::string
const& key, ::DBHelpers::Category category);
100 MCAPI LevelStorageWriteBatch(::LevelStorageWriteBatch&& rhs);
108 MCAPI
void* $ctor(::LevelStorageWriteBatch&& rhs);
120 MCAPI
void $putKey(::std::string
const& key, ::std::string_view data, ::DBHelpers::Category category);
122 MCAPI
void $putKey(::std::string
const& key, ::std::string
const& data, ::DBHelpers::Category category);
124 MCAPI
void $putKey(::std::string
const& key, ::std::string&& data, ::DBHelpers::Category category);
126 MCAPI
void $putKey(::std::string
const& key, ::std::shared_ptr<::std::string> data, ::DBHelpers::Category category);
128 MCAPI
void $deleteKey(::std::string
const& key, ::DBHelpers::Category category);
138 MCAPI
static void** $vftable();
Definition LevelStorageWriteBatch.h:45
Definition LevelStorageWriteBatch.h:23