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
QTest::Internal::QCborValueFormatter Struct Reference

#include <qtesttostring.h>

+ Collaboration diagram for QTest::Internal::QCborValueFormatter:

Public Types

enum  { BufferLen = 256 }
 

Static Public Member Functions

static char * formatSimpleType (QCborSimpleType st)
 
static char * formatTag (QCborTag tag, const QCborValue &taggedValue)
 
static char * innerFormat (QCborValue::Type t, const char *str)
 
template<typename T >
static char * format (QCborValue::Type type, const T &t)
 
static char * format (const QCborValue &v)
 
static char * format (const QCborArray &a)
 
static char * format (const QCborMap &m)
 

Detailed Description

Definition at line 317 of file qtesttostring.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
BufferLen 

Definition at line 319 of file qtesttostring.h.

Member Function Documentation

◆ format() [1/4]

static char * QTest::Internal::QCborValueFormatter::format ( const QCborArray & a)
inlinestatic

Definition at line 399 of file qtesttostring.h.

References out, and qstrdup().

+ Here is the call graph for this function:

◆ format() [2/4]

static char * QTest::Internal::QCborValueFormatter::format ( const QCborMap & m)
inlinestatic

Definition at line 413 of file qtesttostring.h.

References out, and qstrdup().

+ Here is the call graph for this function:

◆ format() [3/4]

static char * QTest::Internal::QCborValueFormatter::format ( const QCborValue & v)
inlinestatic

◆ format() [4/4]

template<typename T >
static char * QTest::Internal::QCborValueFormatter::format ( QCborValue::Type type,
const T & t )
inlinestatic

Definition at line 351 of file qtesttostring.h.

References innerFormat(), and QTest::toString().

Referenced by QTest::toString(), QTest::toString(), and QTest::toString().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ formatSimpleType()

static char * QTest::Internal::QCborValueFormatter::formatSimpleType ( QCborSimpleType st)
inlinestatic

Definition at line 320 of file qtesttostring.h.

References BufferLen, and qsnprintf().

Referenced by format().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ formatTag()

static char * QTest::Internal::QCborValueFormatter::formatTag ( QCborTag tag,
const QCborValue & taggedValue )
inlinestatic

Definition at line 327 of file qtesttostring.h.

References BufferLen, qsnprintf(), and tag.

Referenced by format().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ innerFormat()

static char * QTest::Internal::QCborValueFormatter::innerFormat ( QCborValue::Type t,
const char * str )
inlinestatic

Definition at line 335 of file qtesttostring.h.

References BufferLen, qsnprintf(), str, and typeName.

Referenced by format(), and format().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this struct was generated from the following file: