• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KDECore

Public Types | List of all members
KMakeTypeList< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18 > Struct Template Reference
Typelist classes, algorithms and macros

#include <ktypelist.h>

Public Types

typedef KTypeList< T1, TailResult > Result
 

Detailed Description

template<typename T1 = KDE::NullType, typename T2 = KDE::NullType, typename T3 = KDE::NullType, typename T4 = KDE::NullType, typename T5 = KDE::NullType, typename T6 = KDE::NullType, typename T7 = KDE::NullType, typename T8 = KDE::NullType, typename T9 = KDE::NullType, typename T10 = KDE::NullType, typename T11 = KDE::NullType, typename T12 = KDE::NullType, typename T13 = KDE::NullType, typename T14 = KDE::NullType, typename T15 = KDE::NullType, typename T16 = KDE::NullType, typename T17 = KDE::NullType, typename T18 = KDE::NullType>
struct KMakeTypeList< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18 >

This class template implements a compile-time algorithm for generating typelists.

KMakeTypeList the preferred way to create a typelist for you. You can specify up to 18 types for the typelist. This template class calculates the desired typelist and stores it in the nested Result typedef. Example:

typedef KMakeTypeList<MyType1,MyWidget,MyQobject,MyKoffice>::Result Products;
K_EXPORT_COMPONENT_FACTORY( libmyplugin, KGenericFactory<Products> )
KGenericFactory
This template provides a generic implementation of a KLibFactory , for use with shared library compon...
Definition: kgenericfactory.h:153
K_EXPORT_COMPONENT_FACTORY
#define K_EXPORT_COMPONENT_FACTORY(libname, factory)
Definition: klibloader.h:35
KTypeList
The building block of typelists of any length.
Definition: ktypelist.h:454
Author
Holger Freyther based on the Loki library. See copyright statement at the top

Definition at line 585 of file ktypelist.h.

Member Typedef Documentation

◆ Result

template<typename T1 = KDE::NullType, typename T2 = KDE::NullType, typename T3 = KDE::NullType, typename T4 = KDE::NullType, typename T5 = KDE::NullType, typename T6 = KDE::NullType, typename T7 = KDE::NullType, typename T8 = KDE::NullType, typename T9 = KDE::NullType, typename T10 = KDE::NullType, typename T11 = KDE::NullType, typename T12 = KDE::NullType, typename T13 = KDE::NullType, typename T14 = KDE::NullType, typename T15 = KDE::NullType, typename T16 = KDE::NullType, typename T17 = KDE::NullType, typename T18 = KDE::NullType>
typedef KTypeList<T1, TailResult> KMakeTypeList< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18 >::Result

The resulting KTypeList calculated by this compile-time algorithm.

Definition at line 602 of file ktypelist.h.


The documentation for this struct was generated from the following file:
  • ktypelist.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDECore

Skip menu "KDECore"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal