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
QtPrivate::QTypeNormalizer Struct Reference

#include <qmetatype.h>

+ Collaboration diagram for QtPrivate::QTypeNormalizer:

Public Member Functions

constexpr int normalizeTypeFromSignature (const char *begin, const char *end)
 
constexpr int normalizeType (const char *begin, const char *end, bool adjustConst=true)
 

Public Attributes

char * output
 
int len = 0
 
char last = 0
 

Detailed Description

Definition at line 1856 of file qmetatype.h.

Member Function Documentation

◆ normalizeType()

constexpr int QtPrivate::QTypeNormalizer::normalizeType ( const char * begin,
const char * end,
bool adjustConst = true )
inlineconstexpr

Definition at line 2115 of file qmetatype.h.

References append(), begin(), is_ident_char(), is_space(), normalizeType(), and token.

+ Here is the call graph for this function:

◆ normalizeTypeFromSignature()

constexpr int QtPrivate::QTypeNormalizer::normalizeTypeFromSignature ( const char * begin,
const char * end )
inlineconstexpr

Definition at line 2111 of file qmetatype.h.

References begin(), and normalizeType().

Referenced by QtPrivate::TypeNameHelper::typenameHelper().

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

Member Data Documentation

◆ last

char QtPrivate::QTypeNormalizer::last = 0

Definition at line 1860 of file qmetatype.h.

◆ len

int QtPrivate::QTypeNormalizer::len = 0

Definition at line 1859 of file qmetatype.h.

◆ output

char* QtPrivate::QTypeNormalizer::output

Definition at line 1858 of file qmetatype.h.


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