Qt 4.8
Public Types | Static Public Functions | List of all members
QConcatenable< QCharRef > Struct Template Reference

#include <qstringbuilder.h>

Inheritance diagram for QConcatenable< QCharRef >:
QAbstractConcatenable

Public Types

enum  { ExactSize = true }
 
typedef QString ConvertTo
 
typedef QCharRef type
 

Static Public Functions

static void appendTo (const QCharRef &c, QChar *&out)
 
static QT_ASCII_CAST_WARN void appendTo (const QCharRef &c, char *&out)
 
static int size (const QCharRef &)
 

Additional Inherited Members

- Static Private Functions inherited from QAbstractConcatenable
static void convertFromAscii (const char *a, int len, QChar *&out)
 
static void convertFromAscii (char a, QChar *&out)
 
static void convertToAscii (const QChar *a, int len, char *&out)
 
static void convertToAscii (QChar a, char *&out)
 
static void convertToLatin1 (QChar a, char *&out)
 

Detailed Description

template<>
struct QConcatenable< QCharRef >

Definition at line 218 of file qstringbuilder.h.

Typedefs

◆ ConvertTo

Definition at line 221 of file qstringbuilder.h.

◆ type

Definition at line 220 of file qstringbuilder.h.

Enumerations

◆ anonymous enum

anonymous enum
Enumerator
ExactSize 

Definition at line 222 of file qstringbuilder.h.

Functions

◆ appendTo() [1/2]

static void QConcatenable< QCharRef >::appendTo ( const QCharRef c,
QChar *&  out 
)
inlinestatic

Definition at line 224 of file qstringbuilder.h.

225  { *out++ = QChar(c); }
The QChar class provides a 16-bit Unicode character.
Definition: qchar.h:72

◆ appendTo() [2/2]

static QT_ASCII_CAST_WARN void QConcatenable< QCharRef >::appendTo ( const QCharRef c,
char *&  out 
)
inlinestatic

Definition at line 227 of file qstringbuilder.h.

228  { convertToAscii(c, out); }
static void convertToAscii(const QChar *a, int len, char *&out)

◆ size()

static int QConcatenable< QCharRef >::size ( const QCharRef )
inlinestatic

Definition at line 223 of file qstringbuilder.h.

223 { return 1; }

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