language/duchain
KDevelop::Definitions Class Reference
Global mapping of one Declaration-Ids to multiple Definitions, protected through DUChainLock. More...
#include <definitions.h>
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 | |||
| ) |
| 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:
KDE 4.4 API Reference