KDevelop API Documentation

SimpleContext Class Reference

List of all members.

Public Member Functions

 SimpleContext (SimpleContext *prev=0)
virtual ~SimpleContext ()
SimpleContextprev () const
void attach (SimpleContext *ctx)
void detach ()
const QValueList< SimpleVariable > & vars () const
void add (const SimpleVariable &v)
void add (const QValueList< SimpleVariable > &vars)
SimpleVariable findVariable (const QString &varname)

Private Attributes

QValueList< SimpleVariablem_vars
SimpleContextm_prev

Constructor & Destructor Documentation

SimpleContext::SimpleContext SimpleContext prev = 0  )  [inline]
 

Definition at line 77 of file cppcodecompletion.cpp.

References m_prev.

virtual SimpleContext::~SimpleContext  )  [inline, virtual]
 

Definition at line 80 of file cppcodecompletion.cpp.

References m_prev.


Member Function Documentation

void SimpleContext::add const QValueList< SimpleVariable > &  vars  )  [inline]
 

Definition at line 103 of file cppcodecompletion.cpp.

References m_vars.

void SimpleContext::add const SimpleVariable v  )  [inline]
 

Definition at line 100 of file cppcodecompletion.cpp.

References add(), and m_vars.

Referenced by add(), CppCodeCompletion::completeText(), and CppCodeCompletion::computeContext().

void SimpleContext::attach SimpleContext ctx  )  [inline]
 

Definition at line 91 of file cppcodecompletion.cpp.

References attach(), and m_prev.

Referenced by attach().

void SimpleContext::detach  )  [inline]
 

Definition at line 94 of file cppcodecompletion.cpp.

References m_prev.

SimpleVariable SimpleContext::findVariable const QString varname  )  [inline]
 

Definition at line 106 of file cppcodecompletion.cpp.

References findVariable(), SimpleVariable::name, prev(), and vars().

Referenced by CppCodeCompletion::evaluateExpressionInternal(), and findVariable().

SimpleContext* SimpleContext::prev  )  const [inline]
 

Definition at line 88 of file cppcodecompletion.cpp.

References m_prev.

Referenced by CppCodeCompletion::computeCompletionEntryList(), and findVariable().

const QValueList<SimpleVariable>& SimpleContext::vars  )  const [inline]
 

Definition at line 97 of file cppcodecompletion.cpp.

References m_vars.

Referenced by CppCodeCompletion::computeCompletionEntryList(), and findVariable().


Member Data Documentation

SimpleContext* SimpleContext::m_prev [private]
 

Definition at line 123 of file cppcodecompletion.cpp.

Referenced by attach(), detach(), prev(), SimpleContext(), and ~SimpleContext().

QValueList<SimpleVariable> SimpleContext::m_vars [private]
 

Definition at line 122 of file cppcodecompletion.cpp.

Referenced by add(), and vars().


The documentation for this class was generated from the following file:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Oct 6 17:39:30 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003