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

#include <qstringbuilder.h>

Inheritance diagram for QConcatenable< const char * >:
QAbstractConcatenable

Public Types

enum  { ExactSize = false }
 
typedef QByteArray ConvertTo
 
typedef char const * type
 

Static Public Functions

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

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< const char * >

Definition at line 343 of file qstringbuilder.h.

Typedefs

◆ ConvertTo

typedef QByteArray QConcatenable< const char * >::ConvertTo

Definition at line 346 of file qstringbuilder.h.

◆ type

typedef char const* QConcatenable< const char * >::type

Definition at line 345 of file qstringbuilder.h.

Enumerations

◆ anonymous enum

anonymous enum
Enumerator
ExactSize 

Definition at line 347 of file qstringbuilder.h.

347 { ExactSize = false };

Functions

◆ appendTo() [1/2]

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

Definition at line 350 of file qstringbuilder.h.

long ASN1_INTEGER_get ASN1_INTEGER * a
static void convertFromAscii(const char *a, int len, QChar *&out)

◆ appendTo() [2/2]

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

Definition at line 353 of file qstringbuilder.h.

354  {
355  if (!a)
356  return;
357  while (*a)
358  *out++ = *a++;
359  }
long ASN1_INTEGER_get ASN1_INTEGER * a

◆ size()

static int QConcatenable< const char * >::size ( const char *  a)
inlinestatic

Definition at line 348 of file qstringbuilder.h.

348 { return qstrlen(a); }
long ASN1_INTEGER_get ASN1_INTEGER * a
uint qstrlen(const char *str)
Definition: qbytearray.h:79

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