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 - 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
15namespace comms
16{
17
18namespace field
19{
20
23enum class OptionalMode
24{
25 Tentative,
28 Exists,
29 Missing,
31};
32
33} // namespace field
34
35} // namespace comms
36
OptionalMode
Mode to be used by comms::field::Optional.
Definition OptionalMode.h:24
@ 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.