COMMS
Template library intended to help with implementation of communication protocols.
Loading...
Searching...
No Matches
include
comms
field
OptionalMode.h
Go to the documentation of this file.
1
//
2
// Copyright 2016 - 2026 (C). Alex Robenko. All rights reserved.
3
//
4
// SPDX-License-Identifier: MPL-2.0
5
//
6
// This Source Code Form is subject to the terms of the Mozilla Public
7
// License, v. 2.0. If a copy of the MPL was not distributed with this
8
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
9
12
13
#pragma once
14
15
namespace
comms
16
{
17
18
namespace
field
19
{
20
23
enum class
OptionalMode
24
{
25
Tentative
,
28
Exists
,
29
Missing
,
30
NumOfModes
31
};
32
33
}
// namespace field
34
35
}
// namespace comms
36
comms::field::OptionalMode
OptionalMode
Mode to be used by comms::field::Optional.
Definition
OptionalMode.h:24
comms::field::OptionalMode::Exists
@ Exists
Field must exist.
comms::field::OptionalMode::Missing
@ Missing
Field doesn't exist.
comms::field::OptionalMode::Tentative
@ Tentative
comms::field::OptionalMode::NumOfModes
@ NumOfModes
Number of possible modes, must be last.
comms
Main namespace for all classes / functions of COMMS library.
Generated by
1.9.8