• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdevelop API Reference
  • KDE Home
  • Contact Us
 

kdevplatform/language/duchain

  • KDevelop
  • IndexedQualifiedIdentifier
Public Member Functions | List of all members
KDevelop::IndexedQualifiedIdentifier Class Reference

#include <identifier.h>

Inheritance diagram for KDevelop::IndexedQualifiedIdentifier:
Inheritance graph
[legend]

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()

unsigned int KDevelop::IndexedQualifiedIdentifier::index ( ) const
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<()

bool KDevelop::IndexedQualifiedIdentifier::operator< ( const IndexedQualifiedIdentifier &  rhs) const
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:
  • identifier.h
  • identifier.cpp
This file is part of the KDE documentation.
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.

kdevplatform/language/duchain

Skip menu "kdevplatform/language/duchain"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdevelop API Reference

Skip menu "kdevelop API Reference"
  • kdevplatform
  •   debugger
  •   documentation
  •   interfaces
  •   language
  •     assistant
  •     backgroundparser
  •     checks
  •     classmodel
  •     codecompletion
  •     codegen
  •     duchain
  •     editor
  •     highlighting
  •     interfaces
  •     util
  •   outputview
  •   project
  •   serialization
  •   shell
  •   sublime
  •   tests
  •   util
  •   vcs

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal