Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QtMocHelpers Namespace Reference

Classes

struct  StringData
 

Functions

template<uint... Nx>
constexpr size_t stringDataSizeHelper (std::integer_sequence< uint, Nx... >)
 
template<uint... Nx>
constexpr auto stringData (const char(&...strings)[Nx])
 

Variables

static constexpr size_t MaxStringSize
 

Function Documentation

◆ stringData()

template<uint... Nx>
constexpr auto QtMocHelpers::stringData ( const char(&...strings)[Nx])
constexpr

Definition at line 55 of file qtmochelpers.h.

References i, j, output, and stringDataSizeHelper().

+ Here is the call graph for this function:

◆ stringDataSizeHelper()

template<uint... Nx>
constexpr size_t QtMocHelpers::stringDataSizeHelper ( std::integer_sequence< uint, Nx... > )
constexpr

Definition at line 35 of file qtmochelpers.h.

Referenced by stringData().

+ Here is the caller graph for this function:

Variable Documentation

◆ MaxStringSize

constexpr size_t QtMocHelpers::MaxStringSize
staticconstexpr
Initial value:
=
(std::min)(size_t((std::numeric_limits<uint>::max)()),
size_t((std::numeric_limits<qsizetype>::max)()))

Definition at line 31 of file qtmochelpers.h.