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

kdevplatform/language/duchain

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

#include <localindexedducontext.h>

Public Member Functions

 LocalIndexedDUContext (DUContext *decl)
 
 LocalIndexedDUContext (uint contextIndex=0)
 
DUContext * data (TopDUContext *top) const
 
uint hash () const
 
bool isLoaded (TopDUContext *top) const
 
bool isValid () const
 
uint localIndex () const
 
bool operator< (const LocalIndexedDUContext &rhs) const
 
bool operator== (const LocalIndexedDUContext &rhs) const
 

Detailed Description

Represents a DUContext within a TopDUContext, without storing the TopDUContext(It must be given to data())

Definition at line 33 of file localindexedducontext.h.

Constructor & Destructor Documentation

◆ LocalIndexedDUContext() [1/2]

LocalIndexedDUContext::LocalIndexedDUContext ( DUContext *  decl)
explicit

Definition at line 35 of file localindexedducontext.cpp.

◆ LocalIndexedDUContext() [2/2]

LocalIndexedDUContext::LocalIndexedDUContext ( uint  contextIndex = 0)
explicit

Definition at line 30 of file localindexedducontext.cpp.

Member Function Documentation

◆ data()

DUContext * LocalIndexedDUContext::data ( TopDUContext *  top) const
Warning
Duchain must be read locked

Definition at line 52 of file localindexedducontext.cpp.

◆ hash()

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

Definition at line 54 of file localindexedducontext.h.

◆ isLoaded()

bool LocalIndexedDUContext::isLoaded ( TopDUContext *  top) const

Definition at line 44 of file localindexedducontext.cpp.

◆ isValid()

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

Definition at line 49 of file localindexedducontext.h.

◆ localIndex()

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

Index within the top-context.

Definition at line 67 of file localindexedducontext.h.

◆ operator<()

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

Definition at line 59 of file localindexedducontext.h.

◆ operator==()

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

Definition at line 44 of file localindexedducontext.h.


The documentation for this class was generated from the following files:
  • localindexedducontext.h
  • localindexedducontext.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Apr 16 2021 23:30:10 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