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

language/duchain

KDevelop::Definitions

KDevelop::Definitions Class Reference

Global mapping of one Declaration-Ids to multiple Definitions, protected through DUChainLock. More...

#include <definitions.h>

List of all members.

Public Member Functions

 Definitions ()
 ~Definitions ()
void addDefinition (const DeclarationId &id, const IndexedDeclaration &definition)
KDevVarLengthArray
< IndexedDeclaration > 
definitions (const DeclarationId &id) const
void removeDefinition (const DeclarationId &id, const IndexedDeclaration &definition)

Detailed Description

Global mapping of one Declaration-Ids to multiple Definitions, protected through DUChainLock.

Definition at line 35 of file definitions.h.


Constructor & Destructor Documentation

KDevelop::Definitions::Definitions (  ) 

Constructor.

Definition at line 113 of file definitions.cpp.

KDevelop::Definitions::~Definitions (  ) 

Destructor.

Definition at line 117 of file definitions.cpp.


Member Function Documentation

void KDevelop::Definitions::addDefinition ( const DeclarationId &  id,
const IndexedDeclaration &  definition 
)

Assigns.

Parameters:
definition to the given
id. 

Definition at line 122 of file definitions.cpp.

KDevVarLengthArray< IndexedDeclaration > KDevelop::Definitions::definitions ( const DeclarationId &  id  )  const

Gets all the known definitions assigned to.

Parameters:
id. 

Definition at line 171 of file definitions.cpp.


The documentation for this class was generated from the following files:
  • definitions.h
  • definitions.cpp

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