• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdevelop API Reference
  • KDE Home
  • Contact Us
 

kdevplatform/language/duchain

  • sources
  • kfour-appscomplete
  • kdevelop
  • kdevplatform
  • language
  • duchain
  • types
Classes | Namespaces | Macros
typeregister.h File Reference
#include <QHash>
#include "abstracttype.h"
#include "typesystemdata.h"
Include dependency graph for typeregister.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  KDevelop::AbstractTypeFactory
 
class  KDevelop::TypeFactory< T, Data >
 
class  KDevelop::TypeSystem
 
struct  KDevelop::TypeSystemRegistrator< T, Data >
 

Namespaces

 KDevelop
 

Macros

#define REGISTER_TYPE(Class)   TypeSystemRegistrator<Class, Class ## Data> register ## Class
 

Macro Definition Documentation

◆ REGISTER_TYPE

#define REGISTER_TYPE (   Class)    TypeSystemRegistrator<Class, Class ## Data> register ## Class

You must add this into your source-files for every AbstractType based class For this to work, the class must have an "Identity" enumerator, that is unique among all types.

It should be a unique value, but as small as possible, because a buffer at least as big as that number is created internally.

Definition at line 215 of file typeregister.h.

This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Thu Mar 4 2021 23:31:17 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kdevplatform/language/duchain

Skip menu "kdevplatform/language/duchain"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdevelop API Reference

Skip menu "kdevelop API Reference"
  • kdevplatform
  •   debugger
  •   documentation
  •   interfaces
  •   language
  •     assistant
  •     backgroundparser
  •     checks
  •     classmodel
  •     codecompletion
  •     codegen
  •     duchain
  •     editor
  •     highlighting
  •     interfaces
  •     util
  •   outputview
  •   project
  •   serialization
  •   shell
  •   sublime
  •   tests
  •   util
  •   vcs

Search



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