• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • KDevelop Platform Libraries
  • Sitemap
  • Contact Us
 

language/duchain

definitions.h

00001 /* This file is part of KDevelop
00002     Copyright 2008 David Nolden <david.nolden.kdevelop@art-master.de>
00003 
00004    This library is free software; you can redistribute it and/or
00005    modify it under the terms of the GNU Library General Public
00006    License version 2 as published by the Free Software Foundation.
00007 
00008    This library is distributed in the hope that it will be useful,
00009    but WITHOUT ANY WARRANTY; without even the implied warranty of
00010    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011    Library General Public License for more details.
00012 
00013    You should have received a copy of the GNU Library General Public License
00014    along with this library; see the file COPYING.LIB.  If not, write to
00015    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00016    Boston, MA 02110-1301, USA.
00017 */
00018 
00019 #include "../languageexport.h"
00020 #include <util/kdevvarlengtharray.h>
00021 
00022 #ifndef DEFINITIONS_H
00023 #define DEFINITIONS_H
00024 
00025 namespace KDevelop {
00026 
00027   class Declaration;
00028   class IndexedDeclaration;
00029   class DeclarationId;
00030   class TopDUContext;
00031 
00035   class KDEVPLATFORMLANGUAGE_EXPORT Definitions {
00036     public:
00038     Definitions();
00040     ~Definitions();
00044     void addDefinition(const DeclarationId& id, const IndexedDeclaration& definition);
00045 
00046     void removeDefinition(const DeclarationId& id, const IndexedDeclaration& definition);
00047     
00049     KDevVarLengthArray<IndexedDeclaration> definitions(const DeclarationId& id) const;
00050 
00051     private:
00052       class DefinitionsPrivate* d;
00053   };
00054 }
00055 
00056 #endif
00057 

language/duchain

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

KDevelop Platform Libraries

Skip menu "KDevelop Platform Libraries"
  • interfaces
  • language
  •   codegen
  •   duchain
  •   editor
  • outputview
  • project
  • shell
  • sublime
  • util
  • vcs
Generated for KDevelop Platform Libraries by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal