• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • KDevelop Platform Libraries
  • Sitemap
  • Contact Us
 

language/duchain

KDevelop::IndexedIdentifier

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:
Inheritance graph
[legend]

List of all members.

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:
  • identifier.h
  • identifier.cpp

language/duchain

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

KDevelop Platform Libraries

Skip menu "KDevelop Platform Libraries"
  • interfaces
  • language
  •   codegen
  •   duchain
  •   editor
  • outputview
  • project
  • shell
  • sublime
  • util
  • vcs
Generated for KDevelop Platform Libraries by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal