8#ifndef HPP_ALIB_ALOX_CAMP
9#define HPP_ALIB_ALOX_CAMP 1
16#include "alib/alox/alox.hpp"
21namespace alib {
namespace lox {
111 using StringVectorPA::begin;
112 using StringVectorPA::end;
121 for (
auto it = begin() ; it != end() ; ++it )
251 void operator()( TAString<nchar, lang::HeapAllocator>& target,
const Scope src );
254template<>
struct T_Append<std::pair<Verbosity, Priority>,
nchar, lang::HeapAllocator>
257 void operator()( TAString<nchar, lang::HeapAllocator>& target,
const std::pair<Verbosity, Priority>& src );
virtual void bootstrap(BootstrapPhases phase) override
virtual void shutdown(ShutdownPhases phase) override
ALIB_API void Register(Lox *lox, lang::ContainerOp operation)
ALIB_API Lox * Get(const NString &name, lang::CreateIfNotExists create=lang::CreateIfNotExists::No)
static ALIB_API config::Declaration CODEPAGE
This class acts as a container for Loggers and provides a convenient interface to logging.
AllocatorType & GetAllocator() noexcept
TAllocator AllocatorType
The allocator type that TAllocator specifies.
integer Size() const noexcept
integer Add(const strings::TString< TChar > &src)
#define ALIB_CONFIG_VARIABLE_DEFINE_TYPE_WITH_POOL_CONSTRUCTOR(Namespace, CPPName, CfgTypeString)
#define ALIB_ASSERT_MODULE(modulename)
#define ALIB_ENUMS_ASSIGN_RECORD(TEnum, TRecord)
#define ALIB_RESOURCED_IN_MODULE(T, Camp, ResName)
CreateIfNotExists
Denotes whether something should be created if it does not exist.
ContainerOp
Denotes standard container operations.
@ FORMAT_TIME_DIFF
Denotes configuration variable ALOX/LOGGERNAME/FORMAT_TIME_DIFF used by class TextLogger.
@ CONSOLE_LIGHT_COLORS
Denotes configuration variable ALOX/CONSOLE_LIGHT_COLORS used by colorful specializations of class Te...
@ CONSOLE_TYPE
Denotes configuration variable ALOX/CONSOLE_TYPE used by Lox::CreateConsoleLogger.
@ VERBOSITY
Denotes configuration variable ALOX/LOGGERNAME/VERBOSITY_WITH_LOXNAME.
@ FORMAT
Denotes configuration variable ALOX/LOGGERNAME/FORMAT used by class TextLogger.
@ DOMAIN_SUBSTITUTION
Denotes configuration variable ALOX/LOXNAME/DOMAIN_SUBSTITUTION used by class Lox.
@ CODEPAGE
Denotes configuration variable ALOX/CODEPAGE used by class WindowsConsoleLogger.
@ REPLACEMENTS
Denotes configuration variable ALOX/LOGGERNAME/REPLACEMENTS used by class TextLogger.
@ DUMP_STATE_ON_EXIT
Denotes configuration variable ALOX/LOXNAME/DUMP_STATE_ON_EXIT used by class Lox.
@ FORMAT_DATE_TIME
Denotes configuration variable ALOX/LOGGERNAME/FORMAT_DATE_TIME used by class TextLogger.
@ FORMAT_MULTILINE
Denotes configuration variable ALOX/LOGGERNAME/FORMAT_MULTILINE used by class TextLogger.
@ SPTR_GLOBAL
Denotes configuration variable ALOX/GLOBAL_SOURCE_PATH_TRIM_RULES.
@ FORMAT_OTHER
Denotes configuration variable ALOX/LOGGERNAME/FORMAT_OTHER used by class TextLogger.
@ SPTR_LOX
Denotes configuration variable ALOX/LOXNAME/SOURCE_PATH_TRIM_RULES used by class Lox.
@ PREFIXES
Denotes configuration variable ALOX/LOXNAME/PREFIXES used by class Lox.
@ NO_IDE_LOGGER
Denotes configuration variable ALOX/NO_IDE_LOGGER used by Log::AddDebugLogger.
@ AUTO_SIZES
Denotes configuration variable ALOX/LOGGERNAME/AUTO_SIZES used by class TextLogger.
ShutdownPhases
Termination levels usable with Bootstrapping ALib Camps.
lox::ALoxCamp ALOX
The singleton instance of ALib Camp class ALoxCamp.
BootstrapPhases
Initialization levels usable with Bootstrapping ALib Camps.
lox::Scope Scope
Type alias in namespace alib.
lang::HeapAllocator HeapAllocator
Type alias in namespace alib.
characters::nchar nchar
Type alias in namespace alib.
~CVVerbosities()
Destructor. Frees all allocated strings.
void Clear()
Frees all allocated strings and clears vector.
CVVerbosities(AllocatorType &pAllocator)
void operator()(TAString< TChar > &target, const TAppendable &src)