ALib C++ Library
Library Version: 2510 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
alib::strings::APPENDABLES Namespace Reference

Description:

Attention
This is a non-existing namespace! It is exclusively defined for the documentation parser .

In this "documentation namespace", you will find specializations of functor alib::strings,AppendableTraits "strings,AppendableTraits" which in reality are implemented in parent namespace alib::strings (as required by C++ language syntax).
The rationale for tricking the documentation to this pseude-namespace, is to twofold: On the one hand to keep namespace alib::strings clean and on the other to have an overview of all specializations in one place.

Type Index:

struct  Appendable
 
struct  AppendableTraits< bool, TChar, TAllocator >
 Specialization of functor AppendableTraits for type bool. More...
 
struct  AppendableTraits< boxing::Box, TChar, TAllocator >
 
struct  AppendableTraits< boxing::Enum, TChar, TAllocator >
 
struct  AppendableTraits< compatibility::std::TISReadLine< TChar >, TChar, lang::HeapAllocator >
 
struct  AppendableTraits< double, TChar, TAllocator >
 Specialization of functor AppendableTraits for type double. More...
 
struct  AppendableTraits< exceptions::Exception, TChar, TAllocator >
 
struct  AppendableTraits< expressions::Expression, alib::character, lang::HeapAllocator >
 
struct  AppendableTraits< expressions::ExpressionVal, alib::character, lang::HeapAllocator >
 
struct  AppendableTraits< files::File, nchar, lang::HeapAllocator >
 Specialization of functor AppendableTraits for type File. More...
 
struct  AppendableTraits< files::File, wchar, lang::HeapAllocator >
 Specialization of functor AppendableTraits for type File. More...
 
struct  AppendableTraits< float, TChar, TAllocator >
 Specialization of functor AppendableTraits for type float. More...
 
struct  AppendableTraits< format::ByteSizeIEC, character, lang::HeapAllocator >
 
struct  AppendableTraits< format::ByteSizeSI, character, lang::HeapAllocator >
 
struct  AppendableTraits< int16_t, TChar, TAllocator >
 Specialization of functor AppendableTraits for type int16_t. More...
 
struct  AppendableTraits< int32_t, TChar, TAllocator >
 Specialization of functor AppendableTraits for type int32_t. More...
 
struct  AppendableTraits< int64_t, TChar, TAllocator >
 Specialization of functor AppendableTraits for type int64_t. More...
 
struct  AppendableTraits< int8_t, TChar, TAllocator >
 Specialization of functor AppendableTraits for type int8_t. More...
 
struct  AppendableTraits< intGap_t, TChar, TAllocator >
 Specialization of functor AppendableTraits for type intGap_t. More...
 
struct  AppendableTraits< lang::CallerInfo, TChar, TAllocator >
 
struct  AppendableTraits< long double, TChar, TAllocator >
 Specialization of functor AppendableTraits for type long double. More...
 
struct  AppendableTraits< lox::detail::Logger, TChar, lang::HeapAllocator >
 
struct  AppendableTraits< QChar, TChar, TAllocator >
 Specialization of the type trait AppendableTraits for type QChar. More...
 
struct  AppendableTraits< std::thread::id, TChar, TAllocator >
 Specialization of functor AppendableTraits for type std::thread::id.
More...
 
struct  AppendableTraits< std::type_info, TChar, TAllocator >
 
struct  AppendableTraits< strings::util::Token, alib::character, TAllocator >
 Specialization of functor AppendableTraits for type Token. More...
 
struct  AppendableTraits< TBin< TChar >, TChar, TAllocator >
 Specialization of functor AppendableTraits for type Bin. More...
 
struct  AppendableTraits< TBitwiseEnum, TChar, TAllocator >
 
struct  AppendableTraits< TDec< TChar >, TChar, TAllocator >
 Specialization of functor AppendableTraits for type Format. More...
 
struct  AppendableTraits< TEnum, TChar, TAllocator >
 
struct  AppendableTraits< TEscape< TChar >, TChar, TAllocator >
 Specialization of functor AppendableTraits for type Escape. More...
 
struct  AppendableTraits< TFill< TChar >, TChar, TAllocator >
 Specialization of functor AppendableTraits for type Fill. More...
 
struct  AppendableTraits< THex< TChar >, TChar, TAllocator >
 Specialization of functor AppendableTraits for type Hex. More...
 
struct  AppendableTraits< threads::Thread, nchar, lang::HeapAllocator >
 Specialization of functor AppendableTraits for type Thread. More...
 
struct  AppendableTraits< threads::Thread, wchar, lang::HeapAllocator >
 Specialization of functor AppendableTraits for type Thread. More...
 
struct  AppendableTraits< time::DateTime::Duration, TChar, TAllocator >
 
struct  AppendableTraits< time::Ticks::Duration, TChar, TAllocator >
 
struct  AppendableTraits< TOct< TChar >, TChar, TAllocator >
 Specialization of functor AppendableTraits for type Oct. More...
 
struct  AppendableTraits< TStdFormat< char, Args... >, char, TAllocator >
 
struct  AppendableTraits< TStdFormat< wchar_t, Args... >, wchar_t, TAllocator >
 
struct  AppendableTraits< TTab< TChar >, TChar, TAllocator >
 Specialization of functor AppendableTraits for type TTab. More...
 
struct  AppendableTraits< typename format::PropertyFormatterMapAppendable< TFormattable, TOptionEnum > *, character, lang::HeapAllocator >
 
struct  AppendableTraits< typename format::PropertyFormatterMapAppendable< TFormattable, TOptionEnum >, character, lang::HeapAllocator >
 
struct  AppendableTraits< uint16_t, TChar, TAllocator >
 Specialization of functor AppendableTraits for type uint16_t. More...
 
struct  AppendableTraits< uint32_t, TChar, TAllocator >
 Specialization of functor AppendableTraits for type uint32_t. More...
 
struct  AppendableTraits< uint64_t, TChar, TAllocator >
 Specialization of functor AppendableTraits for type uint64_t. More...
 
struct  AppendableTraits< uint8_t, TChar, TAllocator >
 Specialization of functor AppendableTraits for type uint8_t. More...
 
struct  AppendableTraits< uintGap_t, TChar, TAllocator >
 Specialization of functor AppendableTraits for type uintGap_t. More...
 
struct  AppendableTraits< variables::Variable, nchar, lang::HeapAllocator >
 Specialization of functor AppendableTraits for type Variable. More...
 
struct  AppendableTraits< variables::Variable, wchar, lang::HeapAllocator >
 Specialization of functor AppendableTraits for type Variable. More...
 
struct  TStdFormat
 

Enumeration Index:

enum class  DayTimeUnits {
  TS_ZERO , DayPlural , DaySingular , HourPlural ,
  HourSingular , MinPlural , MinSingular , SecPlural ,
  SecSingular , MlSecPlural , MlSecSingular , McSecPlural ,
  McSecSingular , NSecPlural , NSecSingular , SIZE_OF_UNITS
}
 

Function Index:

template<typename TAppendable>
 Appendable (const TAppendable &) -> Appendable< TAppendable >
 
template<typename TChar, typename... TArgs>
 TStdFormat (TString< TChar >, TArgs &&...) -> TStdFormat< TChar, TArgs... >
 

Variable Index:

String DT_UNITS [size_t(DayTimeUnits::SIZE_OF_UNITS)]
 

Enumeration Details:

◆ DayTimeUnits

An enumeration of the list of "units" needed when describing time-spans, for example, in the term "3 days 2,4 hours".

Enumerator
TS_ZERO 

In DT_UNITS, this defaults to .

DayPlural 

In DT_UNITS, this defaults to .

DaySingular 

In DT_UNITS, this defaults to .

HourPlural 

In DT_UNITS, this defaults to .

HourSingular 

In DT_UNITS, this defaults to .

MinPlural 

In DT_UNITS, this defaults to .

MinSingular 

In DT_UNITS, this defaults to .

SecPlural 

In DT_UNITS, this defaults to .

SecSingular 

In DT_UNITS, this defaults to .

MlSecPlural 

In DT_UNITS, this defaults to .

MlSecSingular 

In DT_UNITS, this defaults to .

McSecPlural 

In DT_UNITS, this defaults to .

McSecSingular 

In DT_UNITS, this defaults to .

NSecPlural 

In DT_UNITS, this defaults to .

NSecSingular 

In DT_UNITS, this defaults to .

SIZE_OF_UNITS 

Stop marker.

Definition at line 247 of file appendables.inl.

Function Details:

◆ Appendable()

template<typename TAppendable>
alib::strings::APPENDABLES::Appendable ( const TAppendable & ) -> Appendable< TAppendable >

C++17 Deduction Guide to construct the type Appendable.

Template Parameters
TAppendableThe type of the wrapped appendable.

◆ TStdFormat()

template<typename TChar, typename... TArgs>
alib::strings::APPENDABLES::TStdFormat ( TString< TChar > ,
TArgs && ... ) -> TStdFormat< TChar, TArgs... >

C++17 Deduction Guide to construct the type TStdFormat.

Template Parameters
TCharThe character type of the target std::string.
TArgsThe types of the variadic formatter arguments.

Variable Details:

◆ DT_UNITS

String alib::strings::APPENDABLES::DT_UNITS[size_t(DayTimeUnits::SIZE_OF_UNITS)]
extern

A list of "units" needed when describing time-spans, for example, in the term "3 days, 2 hours and 1 second". This is used with the specialization of the traits-functor AppendableTraits for type DateTime::Duration.

If module ALib Camp is not included in the ALib Build, the values default to:

A_CHAR("zero time"),
A_CHAR(" days" ) , A_CHAR(" day" ) ,
A_CHAR(" hours" ) , A_CHAR(" hour" ) ,
A_CHAR(" minutes" ) , A_CHAR(" minute" ) ,
A_CHAR(" seconds" ) , A_CHAR(" second" ) ,
A_CHAR(" ms" ) , A_CHAR(" ms" ) ,
A_CHAR(" \u00B5s" ) , A_CHAR(" \u00B5s" ) ,
A_CHAR(" ns" ) , A_CHAR(" ns" ) };

In case the module is included, the same values are resourced in alib::BASECAMP under key "DurUnts". In both cases a user might change this during bootstrap.