ALib C++ Library
Library Version: 2510 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
alox.mpp
Go to the documentation of this file.
1//==================================================================================================
2/// \file
3/// This header-file is part of the \aliblong.
4/// With supporting legacy or module builds, .mpp-files are either recognized by the build-system
5/// as C++20 Module interface files, or are included by the
6/// \ref alib_manual_modules_impludes "import/include headers".
7///
8/// \emoji :copyright: 2013-2025 A-Worx GmbH, Germany.
9/// Published under \ref mainpage_license "Boost Software License".
10//==================================================================================================
11#if !defined(ALIB_C20_MODULES) || ((ALIB_C20_MODULES != 0) && (ALIB_C20_MODULES != 1))
12# error "Symbol ALIB_C20_MODULES has to be given to the compiler as either 0 or 1"
13#endif
14#if ALIB_C20_MODULES
15 module;
16#endif
17// ====================================== Global Fragment ======================================
23
24#include <vector>
25
27
28// =========================================== Module ==========================================
29#if ALIB_C20_MODULES
30 /// This is a C++ Module of the \aliblong. Due to the dual-compile option - as either
31 /// C++20 Modules or legacy C++ inclusion, the C++20 Module names are not of further interest
32 /// or use.<br>
33 /// In general, the names equal the names of the header files listed in the chapter
34 /// \ref alib_manual_modules_impludes of the \alib User Manual.
35 /// This chapter, among others, provides further explanations.
36 export module ALib.ALox;
37 export import ALib.ALox.init;
38 import ALib.ALox.Impl;
39 import ALib.Lang;
40 import ALib.Time;
41 import ALib.EnumOps;
42 import ALib.Threads;
43 import ALib.Strings;
44 import ALib.Exceptions;
45#else
46# include "ALib.Time.H"
47# include "ALib.Threads.H"
48# include "ALib.Exceptions.H"
49# include "ALib.Variables.H"
50# if !defined(ALIB_INC_ALOX_INIT_MPP)
51# define ALIB_INC_ALOX_INIT_MPP
53# endif
54#endif
55
56// ========================================== Exports ==========================================
57#if (ALIB_DEBUG && ALOX_DBG_LOG) || ALOX_REL_LOG
58 // this is now a little tough: if this is legacy compile, we "import" the LI class manually!
59# if !ALIB_C20_MODULES && !defined(ALIB_INC_ALOX_IMPL_INL)
60# define ALIB_INC_ALOX_IMPL_INL
62# endif
63# include "alib/alox/log.inl"
64# include "alib/alox/lox.inl"
65# include "alib/alox/logtools.inl"
66#endif
67