Stroika Library 3.0d16
 
Loading...
Searching...
No Matches
Foundation/Traversal/Common.h
Go to the documentation of this file.
1/*
2 * Copyright(c) Sophist Solutions, Inc. 1990-2025. All rights reserved
3 */
4#ifndef _Stroika_Foundation_Traversal_Common_h_
5#define _Stroika_Foundation_Traversal_Common_h_ 1
6
7#include "Stroika/Foundation/StroikaPreComp.h"
8
10
11/**
12 * \file
13 *
14 * \note Code-Status: <a href="Code-Status.md#Beta">Beta</a>
15 */
16
17namespace Stroika::Foundation::Traversal {
18
19 /**
20 * Openness is used to define whether an end of a range is open or closed. Open means
21 * not containing the endpoint, and closed means containing the endpoint.
22 *
23 * \note no support for the concepts of open and closed or neither open nor closed
24 *
25 * \note Common::DefaultNames<> supported
26 */
27 enum class Openness {
28 eOpen,
29 eClosed,
30
31 Stroika_Define_Enum_Bounds (eOpen, eClosed)
32 };
33 using Openness::eClosed;
34 using Openness::eOpen;
35
36}
37
38/*
39 ********************************************************************************
40 ***************************** Implementation Details ***************************
41 ********************************************************************************
42 */
43#include "Common.inl"
44
45#endif /*_Stroika_Foundation_Traversal_Common_h_*/
#define Stroika_Define_Enum_Bounds(FIRST_ITEM, LAST_ITEM)