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/value.h"
8
9namespace ccf
10{
11 // This type should be used for most service key-value maps so that:
12 // - The raw key is trivially and cheaply deserialisable.
13 // - The JSON value can conveniently be audited offline.
14 // Note: Maps which include large values (e.g. certificate or serialised
15 // Merkle tree) can use the `ccf::kv::RawCopySerialisedMap` type to maximise
16 // performance.
17 template <typename K, typename V>
19 K,
20 V,
23
24 template <typename V>
26 V,
29
30 template <typename K>
32 K,
35}
Definition map.h:30
Definition set.h:33
Definition value.h:32
Definition app_interface.h:14
Definition blit_serialiser.h:14
Definition json_serialiser.h:17