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 - 2024 (C). Alex Robenko. All rights reserved.
3
//
4
// This Source Code Form is subject to the terms of the Mozilla Public
5
// License, v. 2.0. If a copy of the MPL was not distributed with this
6
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
10
11
#pragma once
12
13
namespace
comms
14
{
15
16
namespace
field
17
{
18
21
enum class
OptionalMode
22
{
23
Tentative
,
26
Exists
,
27
Missing
,
28
NumOfModes
29
};
30
31
}
// namespace field
32
33
}
// namespace comms
34
35
comms::field::OptionalMode
OptionalMode
Mode to be used by comms::field::Optional.
Definition
OptionalMode.h:22
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