kdevplatform/language/duchain
KDevelop::Uses Class Reference
#include <uses.h>
Public Member Functions | |
Uses () | |
~Uses () | |
void | addUse (const DeclarationId &id, const IndexedTopDUContext &use) |
bool | hasUses (const DeclarationId &id) const |
void | removeUse (const DeclarationId &id, const IndexedTopDUContext &use) |
KDevVarLengthArray< IndexedTopDUContext > | uses (const DeclarationId &id) const |
Detailed Description
Global mapping of Declaration-Ids to top-contexts, protected through DUChainLock.
To retrieve the actual uses, query the duchain for the files.
Constructor & Destructor Documentation
◆ Uses()
◆ ~Uses()
|
default |
Destructor.
Member Function Documentation
◆ addUse()
void KDevelop::Uses::addUse | ( | const DeclarationId & | id, |
const IndexedTopDUContext & | use | ||
) |
◆ hasUses()
bool KDevelop::Uses::hasUses | ( | const DeclarationId & | id | ) | const |
◆ removeUse()
void KDevelop::Uses::removeUse | ( | const DeclarationId & | id, |
const IndexedTopDUContext & | use | ||
) |
◆ uses()
KDevVarLengthArray< IndexedTopDUContext > KDevelop::Uses::uses | ( | const DeclarationId & | id | ) | const |
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 Sun Jan 17 2021 23:35:32 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sun Jan 17 2021 23:35:32 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.