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

kdevplatform/language/duchain

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

#include <problem.h>

Public Member Functions

 LocalIndexedProblem (const ProblemPointer &problem, const TopDUContext *top)
 
 LocalIndexedProblem (uint index=0)
 
ProblemPointer data (const TopDUContext *top) const
 
bool isValid () const
 
uint localIndex () const
 
bool operator== (const LocalIndexedProblem &rhs) const
 

Detailed Description

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

Fixme: share code with the other LocalIndexed* classes

Definition at line 44 of file problem.h.

Constructor & Destructor Documentation

◆ LocalIndexedProblem() [1/2]

LocalIndexedProblem::LocalIndexedProblem ( const ProblemPointer &  problem,
const TopDUContext *  top 
)

Definition at line 42 of file problem.cpp.

◆ LocalIndexedProblem() [2/2]

KDevelop::LocalIndexedProblem::LocalIndexedProblem ( uint  index = 0)
inlineexplicit

Definition at line 48 of file problem.h.

Member Function Documentation

◆ data()

ProblemPointer LocalIndexedProblem::data ( const TopDUContext *  top) const
Note
Duchain must be read locked

Definition at line 61 of file problem.cpp.

◆ isValid()

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

Definition at line 62 of file problem.h.

◆ localIndex()

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

Index of the Declaration within the top context.

Definition at line 70 of file problem.h.

◆ operator==()

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

Definition at line 57 of file problem.h.


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