CCF
Loading...
Searching...
No Matches
map.h
Go to the documentation of this file.
1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the Apache 2.0 License.
3#pragma once
4
5#include "ccf/kv/map.h"
6#include "ccf/kv/set.h"
7#include "ccf/kv/unit_value.h"
8#include "ccf/kv/value.h"
9
10namespace ccf
11{
12 // This type should be used for most service key-value maps so that:
13 // - The raw key is trivially and cheaply deserialisable.
14 // - The JSON value can conveniently be audited offline.
15 // Note: Maps which include large values (e.g. certificate or serialised
16 // Merkle tree) can use the `ccf::kv::RawCopySerialisedMap` type to maximise
17 // performance.
18 template <typename K, typename V>
20 K,
21 V,
24
25 template <typename V>
27 V,
30
31 template <typename K>
33 K,
36
39}
Definition map.h:30
Definition set.h:33
Definition value.h:32
Definition unit_value.h:22
Definition app_interface.h:13
Definition blit_serialiser.h:14
Definition json_serialiser.h:17