openMSX
Classes | Typedefs | Functions
strCatImpl Namespace Reference

Classes

struct  ConcatFixedWidthBinIntegral
 
struct  ConcatFixedWidthDecIntegral
 
struct  ConcatFixedWidthHexIntegral
 
struct  ConcatIntegral
 
struct  ConcatSpaces
 
struct  ConcatUnit
 
struct  ConcatUnit< bool >
 
struct  ConcatUnit< char >
 
struct  ConcatUnit< std::string_view >
 
struct  ConcatVariableWidthHexIntegral
 
struct  ConcatViaString
 
struct  FastUnsignedImpl
 
struct  FastUnsignedImpl< long >
 
struct  FastUnsignedImpl< long long >
 
struct  FastUnsignedImpl< unsigned long >
 
struct  FastUnsignedImpl< unsigned long long >
 

Typedefs

template<typename T >
using FastUnsigned = typename FastUnsignedImpl< T >::type
 

Functions

template<std::unsigned_integral T>
FastUnsigned< T > absHelper (T t)
 
template<typename T >
auto makeConcatUnit (const T &t)
 
auto makeConcatUnit (const std::string &s)
 
auto makeConcatUnit (const char *s)
 
auto makeConcatUnit (char *s)
 
auto makeConcatUnit (const TemporaryString &s)
 
auto makeConcatUnit (zstring_view s)
 
auto makeConcatUnit (signed char c)
 
auto makeConcatUnit (unsigned char c)
 
auto makeConcatUnit (short s)
 
auto makeConcatUnit (unsigned short s)
 
auto makeConcatUnit (int i)
 
auto makeConcatUnit (unsigned u)
 
auto makeConcatUnit (long l)
 
auto makeConcatUnit (unsigned long l)
 
auto makeConcatUnit (long long l)
 
auto makeConcatUnit (unsigned long long l)
 
template<HexCase Case, std::integral T>
auto makeConcatUnit (const ConcatVariableWidthHexIntegral< Case, T > &t)
 
template<size_t N, HexCase Case, std::integral T>
auto makeConcatUnit (const ConcatFixedWidthHexIntegral< N, Case, T > &t)
 
template<size_t N, std::integral T>
auto makeConcatUnit (const ConcatFixedWidthBinIntegral< N, T > &t)
 
template<size_t N, std::integral T>
auto makeConcatUnit (const ConcatFixedWidthDecIntegral< N, T > &t)
 
auto makeConcatUnit (const ConcatSpaces &t)
 
template<typename Tuple , size_t... Is>
size_t calcTotalSizeHelper (const Tuple &t, std::index_sequence< Is... >)
 
template<typename... Ts>
size_t calcTotalSize (const std::tuple< Ts... > &t)
 
template<typename Tuple , size_t... Is>
void copyUnitsHelper (char *dst, const Tuple &t, std::index_sequence< Is... >)
 
template<typename... Ts>
void copyUnits (char *dst, const std::tuple< Ts... > &t)
 
std::string to_string (std::integral auto x)
 

Typedef Documentation

◆ FastUnsigned

template<typename T >
using strCatImpl::FastUnsigned = typedef typename FastUnsignedImpl<T>::type

Definition at line 261 of file strCat.hh.

Function Documentation

◆ absHelper()

template<std::unsigned_integral T>
FastUnsigned< T > strCatImpl::absHelper ( t)

Definition at line 266 of file strCat.hh.

References t.

Referenced by strCatImpl::ConcatIntegral< T >::ConcatIntegral().

◆ calcTotalSize()

template<typename... Ts>
size_t strCatImpl::calcTotalSize ( const std::tuple< Ts... > &  t)

Definition at line 642 of file strCat.hh.

References calcTotalSizeHelper(), and t.

Referenced by strAppend(), strCat(), and tmpStrCat().

◆ calcTotalSizeHelper()

template<typename Tuple , size_t... Is>
size_t strCatImpl::calcTotalSizeHelper ( const Tuple &  t,
std::index_sequence< Is... >   
)

Definition at line 636 of file strCat.hh.

References t.

Referenced by calcTotalSize().

◆ copyUnits()

template<typename... Ts>
void strCatImpl::copyUnits ( char *  dst,
const std::tuple< Ts... > &  t 
)

Definition at line 657 of file strCat.hh.

References copyUnitsHelper(), and t.

Referenced by strAppend(), strCat(), and tmpStrCat().

◆ copyUnitsHelper()

template<typename Tuple , size_t... Is>
void strCatImpl::copyUnitsHelper ( char *  dst,
const Tuple &  t,
std::index_sequence< Is... >   
)

Definition at line 650 of file strCat.hh.

References t.

Referenced by copyUnits().

◆ makeConcatUnit() [1/21]

auto strCatImpl::makeConcatUnit ( char *  s)
inline

Definition at line 516 of file strCat.hh.

◆ makeConcatUnit() [2/21]

auto strCatImpl::makeConcatUnit ( const char *  s)
inline

Definition at line 511 of file strCat.hh.

◆ makeConcatUnit() [3/21]

template<size_t N, std::integral T>
auto strCatImpl::makeConcatUnit ( const ConcatFixedWidthBinIntegral< N, T > &  t)
inline

Definition at line 616 of file strCat.hh.

References t.

◆ makeConcatUnit() [4/21]

template<size_t N, std::integral T>
auto strCatImpl::makeConcatUnit ( const ConcatFixedWidthDecIntegral< N, T > &  t)
inline

Definition at line 622 of file strCat.hh.

References t.

◆ makeConcatUnit() [5/21]

template<size_t N, HexCase Case, std::integral T>
auto strCatImpl::makeConcatUnit ( const ConcatFixedWidthHexIntegral< N, Case, T > &  t)
inline

Definition at line 610 of file strCat.hh.

References t.

◆ makeConcatUnit() [6/21]

auto strCatImpl::makeConcatUnit ( const ConcatSpaces t)
inline

Definition at line 627 of file strCat.hh.

References t.

◆ makeConcatUnit() [7/21]

template<HexCase Case, std::integral T>
auto strCatImpl::makeConcatUnit ( const ConcatVariableWidthHexIntegral< Case, T > &  t)
inline

Definition at line 604 of file strCat.hh.

References t.

◆ makeConcatUnit() [8/21]

auto strCatImpl::makeConcatUnit ( const std::string &  s)
inline

Definition at line 506 of file strCat.hh.

◆ makeConcatUnit() [9/21]

template<typename T >
auto strCatImpl::makeConcatUnit ( const T &  t)
inline

Definition at line 500 of file strCat.hh.

References t.

Referenced by strAppend(), strCat(), and tmpStrCat().

◆ makeConcatUnit() [10/21]

auto strCatImpl::makeConcatUnit ( const TemporaryString s)
inline

Definition at line 520 of file strCat.hh.

◆ makeConcatUnit() [11/21]

auto strCatImpl::makeConcatUnit ( int  i)
inline

Definition at line 550 of file strCat.hh.

◆ makeConcatUnit() [12/21]

auto strCatImpl::makeConcatUnit ( long  l)
inline

Definition at line 560 of file strCat.hh.

◆ makeConcatUnit() [13/21]

auto strCatImpl::makeConcatUnit ( long long  l)
inline

Definition at line 570 of file strCat.hh.

◆ makeConcatUnit() [14/21]

auto strCatImpl::makeConcatUnit ( short  s)
inline

Definition at line 540 of file strCat.hh.

◆ makeConcatUnit() [15/21]

auto strCatImpl::makeConcatUnit ( signed char  c)
inline

Definition at line 530 of file strCat.hh.

◆ makeConcatUnit() [16/21]

auto strCatImpl::makeConcatUnit ( unsigned char  c)
inline

Definition at line 535 of file strCat.hh.

◆ makeConcatUnit() [17/21]

auto strCatImpl::makeConcatUnit ( unsigned long  l)
inline

Definition at line 565 of file strCat.hh.

◆ makeConcatUnit() [18/21]

auto strCatImpl::makeConcatUnit ( unsigned long long  l)
inline

Definition at line 575 of file strCat.hh.

◆ makeConcatUnit() [19/21]

auto strCatImpl::makeConcatUnit ( unsigned short  s)
inline

Definition at line 545 of file strCat.hh.

◆ makeConcatUnit() [20/21]

auto strCatImpl::makeConcatUnit ( unsigned  u)
inline

Definition at line 555 of file strCat.hh.

◆ makeConcatUnit() [21/21]

auto strCatImpl::makeConcatUnit ( zstring_view  s)
inline

Definition at line 524 of file strCat.hh.

◆ to_string()

std::string strCatImpl::to_string ( std::integral auto  x)
inline

Definition at line 664 of file strCat.hh.

Referenced by strCat(), strCat(), strCat(), strCat(), strCat(), strCat(), strCat(), strCat(), strCat(), and strCat().