language/duchain
KDevelop::Uses Class Reference
Global mapping of Declaration-Ids to top-contexts, protected through DUChainLock. More...
#include <uses.h>
Public Member Functions | |
| Uses () | |
| ~Uses () | |
| void | addUse (const DeclarationId &id, const IndexedTopDUContext &use) |
| 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.
Definition at line 36 of file uses.h.
Constructor & Destructor Documentation
Member Function Documentation
| void KDevelop::Uses::addUse | ( | const DeclarationId & | id, | |
| const IndexedTopDUContext & | use | |||
| ) |
| void KDevelop::Uses::removeUse | ( | const DeclarationId & | id, | |
| const IndexedTopDUContext & | use | |||
| ) |
| KDevVarLengthArray< IndexedTopDUContext > KDevelop::Uses::uses | ( | const DeclarationId & | id | ) | const |
The documentation for this class was generated from the following files:
KDE 4.4 API Reference