• 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
typerepository.h
Go to the documentation of this file.
1 /*
2  Copyright 2008 David Nolden <[email protected]>
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License version 2 as published by the Free Software Foundation.
7 
8  This library is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  Library General Public License for more details.
12 
13  You should have received a copy of the GNU Library General Public License
14  along with this library; see the file COPYING.LIB. If not, write to
15  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16  Boston, MA 02110-1301, USA.
17  */
18 
19 #ifndef KDEVPLATFORM_TYPEREPOSITORY_H
20 #define KDEVPLATFORM_TYPEREPOSITORY_H
21 
22 #include <language/duchain/types/abstracttype.h>
23 
24 namespace KDevelop {
25 struct ReferenceCountManager;
26 class AbstractRepositoryManager;
27 
28 class TypeRepository
29 {
30 public:
31  static uint indexForType(const AbstractType::Ptr& input);
32  static AbstractType::Ptr typeForIndex(uint index);
33  static void increaseReferenceCount(uint index);
34  static void decreaseReferenceCount(uint index);
35  static void increaseReferenceCount(uint index, ReferenceCountManager* manager);
36  static void decreaseReferenceCount(uint index, ReferenceCountManager* manager);
37 };
38 
39 AbstractRepositoryManager* typeRepositoryManager();
40 }
41 
42 #endif
KDevelop::TypeRepository::decreaseReferenceCount
static void decreaseReferenceCount(uint index)
KDevelop::TypePtr< AbstractType >
KDevelop::TypeRepository
Definition: typerepository.h:28
ReferenceCountManager
abstracttype.h
KDevelop::TypeRepository::indexForType
static uint indexForType(const AbstractType::Ptr &input)
Definition: typerepository.cpp:117
KDevelop
Definition: abstractfunctiondeclaration.cpp:27
KDevelop::TypeRepository::typeForIndex
static AbstractType::Ptr typeForIndex(uint index)
Definition: typerepository.cpp:138
KDevelop::TypeRepository::increaseReferenceCount
static void increaseReferenceCount(uint index)
KDevelop::typeRepositoryManager
AbstractRepositoryManager * typeRepositoryManager()
Definition: typerepository.cpp:112
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