kdevplatform/language/duchain
#include <identifier.h>

Public Member Functions | |
IndexedQualifiedIdentifier () | |
IndexedQualifiedIdentifier (const IndexedQualifiedIdentifier &rhs) | |
IndexedQualifiedIdentifier (const QualifiedIdentifier &id) | |
IndexedQualifiedIdentifier (IndexedQualifiedIdentifier &&rhs) Q_DECL_NOEXCEPT | |
~IndexedQualifiedIdentifier () | |
QualifiedIdentifier | identifier () const |
unsigned int | index () const |
bool | isEmpty () const |
bool | isValid () const |
operator QualifiedIdentifier () const | |
bool | operator< (const IndexedQualifiedIdentifier &rhs) const |
IndexedQualifiedIdentifier & | operator= (const IndexedQualifiedIdentifier &id) |
IndexedQualifiedIdentifier & | operator= (const QualifiedIdentifier &id) |
IndexedQualifiedIdentifier & | operator= (IndexedQualifiedIdentifier &&rhs) Q_DECL_NOEXCEPT |
bool | operator== (const IndexedQualifiedIdentifier &rhs) const |
bool | operator== (const QualifiedIdentifier &id) 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 95 of file identifier.h.
Constructor & Destructor Documentation
◆ IndexedQualifiedIdentifier() [1/4]
KDevelop::IndexedQualifiedIdentifier::IndexedQualifiedIdentifier | ( | ) |
Definition at line 1434 of file identifier.cpp.
◆ IndexedQualifiedIdentifier() [2/4]
KDevelop::IndexedQualifiedIdentifier::IndexedQualifiedIdentifier | ( | const QualifiedIdentifier & | id | ) |
Definition at line 1448 of file identifier.cpp.
◆ IndexedQualifiedIdentifier() [3/4]
KDevelop::IndexedQualifiedIdentifier::IndexedQualifiedIdentifier | ( | const IndexedQualifiedIdentifier & | rhs | ) |
Definition at line 1460 of file identifier.cpp.
◆ IndexedQualifiedIdentifier() [4/4]
KDevelop::IndexedQualifiedIdentifier::IndexedQualifiedIdentifier | ( | IndexedQualifiedIdentifier && | rhs | ) |
Definition at line 1473 of file identifier.cpp.
◆ ~IndexedQualifiedIdentifier()
KDevelop::IndexedQualifiedIdentifier::~IndexedQualifiedIdentifier | ( | ) |
Definition at line 1548 of file identifier.cpp.
Member Function Documentation
◆ identifier()
QualifiedIdentifier KDevelop::IndexedQualifiedIdentifier::identifier | ( | ) | const |
Definition at line 1568 of file identifier.cpp.
◆ index()
|
inline |
Definition at line 121 of file identifier.h.
◆ isEmpty()
bool KDevelop::IndexedQualifiedIdentifier::isEmpty | ( | ) | const |
Definition at line 1417 of file identifier.cpp.
◆ isValid()
bool KDevelop::IndexedQualifiedIdentifier::isValid | ( | ) | const |
Definition at line 1412 of file identifier.cpp.
◆ operator QualifiedIdentifier()
KDevelop::IndexedQualifiedIdentifier::operator QualifiedIdentifier | ( | ) | const |
Definition at line 1573 of file identifier.cpp.
◆ operator<()
|
inline |
Definition at line 110 of file identifier.h.
◆ operator=() [1/3]
IndexedQualifiedIdentifier & KDevelop::IndexedQualifiedIdentifier::operator= | ( | const IndexedQualifiedIdentifier & | id | ) |
Definition at line 1500 of file identifier.cpp.
◆ operator=() [2/3]
IndexedQualifiedIdentifier & KDevelop::IndexedQualifiedIdentifier::operator= | ( | const QualifiedIdentifier & | id | ) |
Definition at line 1479 of file identifier.cpp.
◆ operator=() [3/3]
IndexedQualifiedIdentifier & KDevelop::IndexedQualifiedIdentifier::operator= | ( | IndexedQualifiedIdentifier && | rhs | ) |
Definition at line 1521 of file identifier.cpp.
◆ operator==() [1/2]
bool KDevelop::IndexedQualifiedIdentifier::operator== | ( | const IndexedQualifiedIdentifier & | rhs | ) | const |
Definition at line 1558 of file identifier.cpp.
◆ operator==() [2/2]
bool KDevelop::IndexedQualifiedIdentifier::operator== | ( | const QualifiedIdentifier & | id | ) | const |
Definition at line 1563 of file identifier.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2021 The KDE developers.
Generated on Wed Jan 20 2021 23:38:35 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.