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

kdevplatform/language/duchain

  • KDevelop
  • Definitions
Public Member Functions | List of all members
KDevelop::Definitions Class Reference

#include <definitions.h>

Public Member Functions

 Definitions ()
 
 ~Definitions ()
 
void addDefinition (const DeclarationId &id, const IndexedDeclaration &definition)
 
KDevVarLengthArray< IndexedDeclaration > definitions (const DeclarationId &id) const
 
void dump (const QTextStream &out)
 
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 40 of file definitions.h.

Constructor & Destructor Documentation

◆ Definitions()

KDevelop::Definitions::Definitions ( )

Constructor.

Definition at line 173 of file definitions.cpp.

◆ ~Definitions()

KDevelop::Definitions::~Definitions ( )
default

Destructor.

Member Function Documentation

◆ addDefinition()

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

Assigns.

Parameters
definitionto the given id

Definition at line 180 of file definitions.cpp.

◆ definitions()

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

Gets all the known definitions assigned to id.

Definition at line 233 of file definitions.cpp.

◆ dump()

void KDevelop::Definitions::dump ( const QTextStream &  out)

Dump contents of the definitions repository to stream out.

Definition at line 254 of file definitions.cpp.

◆ removeDefinition()

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

Definition at line 207 of file definitions.cpp.


The documentation for this class was generated from the following files:
  • definitions.h
  • definitions.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Jan 23 2021 09:40:52 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