language/duchain
KDevelop::IndexedQualifiedIdentifier Class Reference
A helper-class to store an identifier by index in a type-safe way. More...
#include <identifier.h>
Inheritance diagram for KDevelop::IndexedQualifiedIdentifier:

Public Member Functions | |
| IndexedQualifiedIdentifier (const IndexedQualifiedIdentifier &rhs) | |
| IndexedQualifiedIdentifier (const QualifiedIdentifier &id) | |
| uint | getIndex () const |
| QualifiedIdentifier | identifier () const |
| bool | isValid () const |
| operator QualifiedIdentifier () const | |
| bool | operator< (const IndexedQualifiedIdentifier &rhs) const |
| IndexedQualifiedIdentifier & | operator= (const IndexedQualifiedIdentifier &id) |
| IndexedQualifiedIdentifier & | operator= (const QualifiedIdentifier &id) |
| bool | operator== (const QualifiedIdentifier &id) const |
| bool | operator== (const IndexedQualifiedIdentifier &rhs) const |
Detailed Description
A helper-class to store an identifier by index in a type-safe way.
The difference to QualifiedIdentifier is that this class only stores the index of an identifier that is in the repository, without any dynamic abilities or access to the contained data. This class does "disk reference counting"
- Warning:
- Do not use this after QCoreApplication::aboutToQuit() has been emitted, items that are not disk-referenced will be invalid at that point
Definition at line 84 of file identifier.h.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference