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

Public Member Functions | |
| IndexedIdentifier (const IndexedIdentifier &rhs) | |
| IndexedIdentifier (const Identifier &id) | |
| uint | getIndex () const |
| Identifier | identifier () const |
| bool | isEmpty () const |
| operator Identifier () const | |
| bool | operator!= (const IndexedIdentifier &rhs) const |
| IndexedIdentifier & | operator= (const IndexedIdentifier &rhs) |
| IndexedIdentifier & | operator= (const Identifier &id) |
| bool | operator== (const Identifier &id) const |
| bool | operator== (const IndexedIdentifier &rhs) const |
Detailed Description
A helper-class to store an identifier by index in a type-safe way.
The difference to Identifier 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 54 of file identifier.h.
The documentation for this struct was generated from the following files:
KDE 4.4 API Reference