KDevelop API Documentation

SimpleContext Class Reference

Collaboration diagram for SimpleContext:

Collaboration graph
[legend]
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.

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

Definition at line 80 of file cppcodecompletion.cpp.


Member Function Documentation

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

Definition at line 103 of file cppcodecompletion.cpp.

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

Definition at line 100 of file cppcodecompletion.cpp.

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

void SimpleContext::attach SimpleContext ctx  )  [inline]
 

Definition at line 91 of file cppcodecompletion.cpp.

void SimpleContext::detach  )  [inline]
 

Definition at line 94 of file cppcodecompletion.cpp.

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

Definition at line 106 of file cppcodecompletion.cpp.

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

Referenced by CppCodeCompletion::evaluateExpressionInternal().

SimpleContext* SimpleContext::prev  )  const [inline]
 

Definition at line 88 of file cppcodecompletion.cpp.

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

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

Definition at line 97 of file cppcodecompletion.cpp.

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


Member Data Documentation

SimpleContext* SimpleContext::m_prev [private]
 

Definition at line 123 of file cppcodecompletion.cpp.

QValueList<SimpleVariable> SimpleContext::m_vars [private]
 

Definition at line 122 of file cppcodecompletion.cpp.


The documentation for this class was generated from the following file:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Mar 23 00:29:56 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003