载入中...
搜索中...
未找到
EditorPersistence.h
浏览该文件的文档.
1#pragma once
2#include "common/Export.h"
3
4
7
8namespace eve::editor {
9
12
21
30public:
39 : kind_(kind), store_(store), resourceUri_(std::move(resourceUri)) {}
40
45 std::vector<DomainOperation> journal);
46
47private:
50 IAtomicDocumentStore* store_ = nullptr;
51 std::string resourceUri_;
52};
53
54} // namespace eve::editor
std::vector< std::uint8_t > stored
Definition Evpack.cpp:171
#define EVENGINE_API_ORCHESTRATION
Definition Export.h:111
TokenKind kind
Move-only operation result carrying either a value or Status.
Definition Result.h:155
Deterministic owning value tree shared by authoring hosts.
Maps the same editor transaction output to a document URI or save slot.
EditorPersistenceAdapter(EditorPersistenceKind kind, IAtomicDocumentStore *store, std::string resourceUri)
Bind one logical persistence target.
Compare-and-swap persistence boundary used by DocumentService.
EditorPersistenceKind
Persistence target selected by a game/editor host.
eve::editing::Revision Revision
Loaded checkpoint plus the domain operations recorded with it.
std::vector< DomainOperation > journal
Value snapshot returned by an atomic document store.