CCF
Loading...
Searching...
No Matches
include
ccf
service
operator_feature.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/ds/json.h
"
6
7
namespace
ccf::endpoints
8
{
9
enum class
OperatorFeature
: uint8_t
10
{
11
SnapshotRead
,
12
LedgerChunkRead
,
13
SnapshotCreate
14
};
15
16
DECLARE_JSON_ENUM
(
17
OperatorFeature
,
18
{
19
{
OperatorFeature::SnapshotRead
,
"SnapshotRead"
},
20
{
OperatorFeature::LedgerChunkRead
,
"LedgerChunkRead"
},
21
{
OperatorFeature::SnapshotCreate
,
"SnapshotCreate"
},
22
});
23
}
ccf::kv::UnitValue
Definition
unit_value.h:22
json.h
DECLARE_JSON_ENUM
#define DECLARE_JSON_ENUM(TYPE,...)
Definition
json.h:864
ccf::endpoints
Definition
endpoint.h:17
ccf::endpoints::OperatorFeature
OperatorFeature
Definition
operator_feature.h:10
ccf::endpoints::OperatorFeature::SnapshotRead
@ SnapshotRead
ccf::endpoints::OperatorFeature::LedgerChunkRead
@ LedgerChunkRead
ccf::endpoints::OperatorFeature::SnapshotCreate
@ SnapshotCreate
Generated by
1.9.8