kdevplatform/language/duchain
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()
|
default |
Destructor.
Member Function Documentation
◆ addDefinition()
void KDevelop::Definitions::addDefinition | ( | const DeclarationId & | id, |
const IndexedDeclaration & | definition | ||
) |
◆ 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:
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
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.