COMMS
Template library intended to help with implementation of communication protocols.
Loading...
Searching...
No Matches
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
13namespace comms
14{
15
16namespace field
17{
18
21enum class OptionalMode
22{
23 Tentative,
26 Exists,
27 Missing,
29};
30
31} // namespace field
32
33} // namespace comms
34
35
OptionalMode
Mode to be used by comms::field::Optional.
Definition OptionalMode.h:22
@ Exists
Field must exist.
@ Missing
Field doesn't exist.
@ NumOfModes
Number of possible modes, must be last.
Main namespace for all classes / functions of COMMS library.