Everett
Loading...
Searching...
No Matches
runtime_seal.h
Go to the documentation of this file.
1
12#pragma once
13
16#include <everett/sections.h>
17
18namespace everett {
23
24 struct pair_seal {
27 object_seal_receipt receipt; // The index; identity.native names its exact native owner.
28 };
29
30 template <class Mapped> struct native_binding : native_seal {
31 std::shared_ptr<Mapped const> mapped;
32 native_binding(native_seal seal, std::shared_ptr<Mapped const> value)
33 : native_seal(std::move(seal)), mapped(std::move(value)) {}
34 };
35
36 template <class Mapped> struct pair_binding : pair_seal {
37 std::shared_ptr<Mapped const> mapped;
38 pair_binding(pair_seal seal, std::shared_ptr<Mapped const> value)
39 : pair_seal(std::move(seal)), mapped(std::move(value)) {}
40 };
41
42 template <class P, class Ids, class Ops, class Family> struct runtime_store;
43 template <class P, class Selector, class Ids, class CatalogOps, class FileOps> struct sort_runtime_context;
44 namespace runtime_store_detail {
45 template <class P, class Ids, class Ops, class Family> struct graph_sealer;
46 }
47}
Keeps acknowledged catalog identities with their shared immutable owners.
Definition active_engine.h:18
Streams and seals immutable object files without catalog publication.
Encodes portable blob sections and retains mmap-backed profile directories.
Definition sections.h:34
Definition runtime_seal.h:30
native_binding(native_seal seal, std::shared_ptr< Mapped const > value)
Definition runtime_seal.h:32
std::shared_ptr< Mapped const > mapped
Definition runtime_seal.h:31
Definition runtime_seal.h:19
object_seal_receipt receipt
Definition runtime_seal.h:21
object_id catalog
Definition runtime_seal.h:20
Definition object_path.h:38
Definition object_writer.h:88
Definition runtime_seal.h:36
std::shared_ptr< Mapped const > mapped
Definition runtime_seal.h:37
pair_binding(pair_seal seal, std::shared_ptr< Mapped const > value)
Definition runtime_seal.h:38
Definition runtime_seal.h:24
blob_identity identity
Definition runtime_seal.h:26
object_seal_receipt receipt
Definition runtime_seal.h:27
object_id catalog
Definition runtime_seal.h:25