openMSX
Classes | Typedefs | Functions
strCatImpl Namespace Reference

Classes

struct  AbsHelper
 
struct  AbsHelper< false >
 
struct  AbsHelper< true >
 
struct  ConcatFixedWidthHexIntegral
 
struct  ConcatIntegral
 
struct  ConcatSpaces
 
struct  ConcatUnit
 
struct  ConcatUnit< bool >
 
struct  ConcatUnit< char >
 
struct  ConcatUnit< string_view >
 
struct  ConcatViaString
 
struct  FastUnsignedImpl
 
struct  FastUnsignedImpl< long >
 
struct  FastUnsignedImpl< long long >
 
struct  FastUnsignedImpl< unsigned long >
 
struct  FastUnsignedImpl< unsigned long long >
 
struct  PutSignHelper
 
struct  PutSignHelper< false >
 
struct  PutSignHelper< true >
 

Typedefs

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

Functions

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 (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<size_t N, typename T >
auto makeConcatUnit (const ConcatFixedWidthHexIntegral< 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)
 
template<typename T >
std::string to_string (T x)
 

Typedef Documentation

◆ FastUnsigned

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

Definition at line 245 of file strCat.hh.

Function Documentation

◆ calcTotalSize()

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

Definition at line 544 of file strCat.hh.

References calcTotalSizeHelper().

Referenced by strAppend(), and strCat().

◆ calcTotalSizeHelper()

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

Definition at line 534 of file strCat.hh.

References strCatImpl::ConcatViaString::size(), and t.

Referenced by calcTotalSize().

◆ copyUnits()

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

Definition at line 559 of file strCat.hh.

References copyUnitsHelper().

Referenced by strAppend(), and strCat().

◆ copyUnitsHelper()

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

Definition at line 552 of file strCat.hh.

References strCatImpl::ConcatViaString::copy(), and t.

Referenced by copyUnits().

◆ makeConcatUnit() [1/16]

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

Definition at line 424 of file strCat.hh.

References t.

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

◆ makeConcatUnit() [2/16]

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

Definition at line 430 of file strCat.hh.

◆ makeConcatUnit() [3/16]

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

Definition at line 435 of file strCat.hh.

◆ makeConcatUnit() [4/16]

auto strCatImpl::makeConcatUnit ( char *  s)
inline

Definition at line 440 of file strCat.hh.

◆ makeConcatUnit() [5/16]

auto strCatImpl::makeConcatUnit ( signed char  c)
inline

Definition at line 446 of file strCat.hh.

◆ makeConcatUnit() [6/16]

auto strCatImpl::makeConcatUnit ( unsigned char  c)
inline

Definition at line 451 of file strCat.hh.

◆ makeConcatUnit() [7/16]

auto strCatImpl::makeConcatUnit ( short  s)
inline

Definition at line 456 of file strCat.hh.

◆ makeConcatUnit() [8/16]

auto strCatImpl::makeConcatUnit ( unsigned short  s)
inline

Definition at line 461 of file strCat.hh.

◆ makeConcatUnit() [9/16]

auto strCatImpl::makeConcatUnit ( int  i)
inline

Definition at line 466 of file strCat.hh.

◆ makeConcatUnit() [10/16]

auto strCatImpl::makeConcatUnit ( unsigned  u)
inline

Definition at line 471 of file strCat.hh.

◆ makeConcatUnit() [11/16]

auto strCatImpl::makeConcatUnit ( long  l)
inline

Definition at line 476 of file strCat.hh.

◆ makeConcatUnit() [12/16]

auto strCatImpl::makeConcatUnit ( unsigned long  l)
inline

Definition at line 481 of file strCat.hh.

◆ makeConcatUnit() [13/16]

auto strCatImpl::makeConcatUnit ( long long  l)
inline

Definition at line 486 of file strCat.hh.

◆ makeConcatUnit() [14/16]

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

Definition at line 491 of file strCat.hh.

References makeConcatUnit().

◆ makeConcatUnit() [15/16]

template<size_t N, typename T >
auto strCatImpl::makeConcatUnit ( const ConcatFixedWidthHexIntegral< N, T > &  t)
inline

Definition at line 520 of file strCat.hh.

References t.

◆ makeConcatUnit() [16/16]

auto strCatImpl::makeConcatUnit ( const ConcatSpaces t)
inline

Definition at line 525 of file strCat.hh.

References t.

◆ to_string()

template<typename T >
std::string strCatImpl::to_string ( x)
inline

Definition at line 567 of file strCat.hh.

Referenced by strCatImpl::ConcatViaString::copy().