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

kdevplatform/language/duchain

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

#include <localindexeddeclaration.h>

Public Member Functions

 LocalIndexedDeclaration (Declaration *decl=nullptr)
 
 LocalIndexedDeclaration (uint declarationIndex)
 
Declaration * data (TopDUContext *top) const
 
uint hash () const
 
bool isLoaded (TopDUContext *top) const
 
bool isValid () const
 
uint localIndex () const
 
bool operator< (const LocalIndexedDeclaration &rhs) const
 
bool operator== (const LocalIndexedDeclaration &rhs) const
 

Detailed Description

Represents a declaration only by its index within the top-context.

Definition at line 32 of file localindexeddeclaration.h.

Constructor & Destructor Documentation

◆ LocalIndexedDeclaration() [1/2]

LocalIndexedDeclaration::LocalIndexedDeclaration ( Declaration *  decl = nullptr)

Definition at line 27 of file localindexeddeclaration.cpp.

◆ LocalIndexedDeclaration() [2/2]

LocalIndexedDeclaration::LocalIndexedDeclaration ( uint  declarationIndex)

Definition at line 32 of file localindexeddeclaration.cpp.

Member Function Documentation

◆ data()

Declaration * LocalIndexedDeclaration::data ( TopDUContext *  top) const
Note
Duchain must be read locked

Definition at line 37 of file localindexeddeclaration.cpp.

◆ hash()

uint KDevelop::LocalIndexedDeclaration::hash ( ) const
inline

Definition at line 47 of file localindexeddeclaration.h.

◆ isLoaded()

bool LocalIndexedDeclaration::isLoaded ( TopDUContext *  top) const

Definition at line 45 of file localindexeddeclaration.cpp.

◆ isValid()

bool KDevelop::LocalIndexedDeclaration::isValid ( ) const
inline

Definition at line 52 of file localindexeddeclaration.h.

◆ localIndex()

uint KDevelop::LocalIndexedDeclaration::localIndex ( ) const
inline

Index of the Declaration within the top context.

Definition at line 65 of file localindexeddeclaration.h.

◆ operator<()

bool KDevelop::LocalIndexedDeclaration::operator< ( const LocalIndexedDeclaration &  rhs) const
inline

Definition at line 57 of file localindexeddeclaration.h.

◆ operator==()

bool KDevelop::LocalIndexedDeclaration::operator== ( const LocalIndexedDeclaration &  rhs) const
inline

Definition at line 43 of file localindexeddeclaration.h.


The documentation for this class was generated from the following files:
  • localindexeddeclaration.h
  • localindexeddeclaration.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Jan 23 2021 09:40:53 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