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

language/duchain

KDevelop::IndexedDUContext

KDevelop::IndexedDUContext Class Reference

Represents a context only by its global indices. More...

#include <ducontext.h>

List of all members.

Public Member Functions

 IndexedDUContext (uint topContext=0, uint contextIndex=0)
 IndexedDUContext (DUContext *decl)
DUContext * context () const
DUContext * data () const
QPair< uint, uint > dummyData () const
uint hash () const
IndexedTopDUContext indexedTopContext () const
bool isDummy () const
bool isValid () const
uint localIndex () const
bool operator< (const IndexedDUContext &rhs) const
bool operator== (const IndexedDUContext &rhs) const
void setDummyData (QPair< uint, uint > data)
void setIsDummy (bool dummy)
uint topContextIndex () const

Detailed Description

Represents a context only by its global indices.

Definition at line 54 of file ducontext.h.


Member Function Documentation

DUContext * KDevelop::IndexedDUContext::context (  )  const

Duchain must be read locked.

Definition at line 202 of file ducontext.cpp.

DUContext* KDevelop::IndexedDUContext::data (  )  const [inline]

Duchain must be read locked.

Definition at line 63 of file ducontext.h.

void KDevelop::IndexedDUContext::setDummyData ( QPair< uint, uint >  data  )  [inline]

Do not call this when this object is valid. The first integer loses one bit of precision.

Definition at line 123 of file ducontext.h.

void KDevelop::IndexedDUContext::setIsDummy ( bool  dummy  )  [inline]

The following functions allow storing 2 integers in this object and marking it as a dummy, which makes the isValid() function always return false for this object, and use the integers for other purposes Clears the contained data.

Definition at line 101 of file ducontext.h.


The documentation for this class was generated from the following files:
  • ducontext.h
  • ducontext.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