KDevelop API Documentation

CodeInformationRepository Class Reference

#include <codeinformationrepository.h>

List of all members.

Public Member Functions

 CodeInformationRepository (KDevCodeRepository *rep)
virtual ~CodeInformationRepository ()
QValueList< KTextEditor::CompletionEntrygetEntriesInScope (const QStringList &scope, bool isInstance, bool recompute=false)
QValueList< Tagquery (const QValueList< Catalog::QueryArgument > &args)
QValueList< TaggetTagsInScope (const QStringList &scope, bool isInstance)
QValueList< TaggetTagsInScope (const QString &name, const QStringList &scope)
QValueList< TaggetTagsInFile (const QString &fileName)
QValueList< TaggetBaseClassList (const QString &className)
QValueList< TaggetClassOrNamespaceList (const QStringList &scope)

Static Public Member Functions

QValueList< KTextEditor::CompletionEntrytoEntryList (const QValueList< Tag > &tags, CppCodeCompletion::CompletionMode mode=CppCodeCompletion::NormalCompletion)
KTextEditor::CompletionEntry toEntry (Tag &tag, CppCodeCompletion::CompletionMode mode=CppCodeCompletion::NormalCompletion)

Private Member Functions

 CodeInformationRepository (const CodeInformationRepository &source)
void operator= (const CodeInformationRepository &source)

Private Attributes

QValueList< KTextEditor::CompletionEntrym_globalEntries
KDevCodeRepositorym_rep


Constructor & Destructor Documentation

CodeInformationRepository::CodeInformationRepository KDevCodeRepository rep  ) 
 

Definition at line 40 of file codeinformationrepository.cpp.

References CodeInformationRepository().

Referenced by CodeInformationRepository().

CodeInformationRepository::~CodeInformationRepository  )  [virtual]
 

Definition at line 45 of file codeinformationrepository.cpp.

CodeInformationRepository::CodeInformationRepository const CodeInformationRepository source  )  [private]
 


Member Function Documentation

QValueList< Tag > CodeInformationRepository::getBaseClassList const QString className  ) 
 

Definition at line 146 of file codeinformationrepository.cpp.

References endl(), getBaseClassList(), kdDebug(), and query().

Referenced by getBaseClassList(), and CppCodeCompletion::typeOf().

QValueList< Tag > CodeInformationRepository::getClassOrNamespaceList const QStringList scope  ) 
 

Definition at line 161 of file codeinformationrepository.cpp.

References endl(), getClassOrNamespaceList(), kdDebug(), and query().

Referenced by getClassOrNamespaceList().

QValueList< KTextEditor::CompletionEntry > CodeInformationRepository::getEntriesInScope const QStringList scope,
bool  isInstance,
bool  recompute = false
 

Definition at line 131 of file codeinformationrepository.cpp.

References endl(), getEntriesInScope(), getTagsInScope(), kdDebug(), m_globalEntries, my_unique(), and toEntryList().

Referenced by getEntriesInScope().

QValueList< Tag > CodeInformationRepository::getTagsInFile const QString fileName  ) 
 

Definition at line 70 of file codeinformationrepository.cpp.

References endl(), getTagsInFile(), kdDebug(), m_rep, GCatalog< Tag >::query(), and KDevCodeRepository::registeredCatalogs().

Referenced by getTagsInFile().

QValueList< Tag > CodeInformationRepository::getTagsInScope const QString name,
const QStringList scope
 

Definition at line 180 of file codeinformationrepository.cpp.

References getTagsInScope(), and query().

QValueList< Tag > CodeInformationRepository::getTagsInScope const QStringList scope,
bool  isInstance
 

Definition at line 92 of file codeinformationrepository.cpp.

References endl(), getTagsInScope(), kdDebug(), and query().

Referenced by getEntriesInScope(), and getTagsInScope().

void CodeInformationRepository::operator= const CodeInformationRepository source  )  [private]
 

QValueList< Tag > CodeInformationRepository::query const QValueList< Catalog::QueryArgument > &  args  ) 
 

Definition at line 49 of file codeinformationrepository.cpp.

References GCatalog< Tag >::enabled(), endl(), kdDebug(), m_rep, GCatalog< Tag >::query(), query(), and KDevCodeRepository::registeredCatalogs().

Referenced by CppCodeCompletion::computeCompletionEntryList(), CppCodeCompletion::computeSignatureList(), CppCodeCompletion::evaluateExpression(), getBaseClassList(), getClassOrNamespaceList(), getTagsInScope(), query(), and CppCodeCompletion::typeOf().

KTextEditor::CompletionEntry CodeInformationRepository::toEntry Tag tag,
CppCodeCompletion::CompletionMode  mode = CppCodeCompletion::NormalCompletion
[static]
 

Definition at line 196 of file codeinformationrepository.cpp.

References CppFunction< Tag >::argumentNames(), CppFunction< Tag >::arguments(), Tag::attribute(), KTextEditor::CompletionEntry::comment, CppFunction< Tag >::isConst, Tag::kind(), Tag::name(), KTextEditor::CompletionEntry::postfix, KTextEditor::CompletionEntry::prefix, KTextEditor::CompletionEntry::text, and toEntry().

Referenced by toEntry(), and toEntryList().

QValueList< KTextEditor::CompletionEntry > CodeInformationRepository::toEntryList const QValueList< Tag > &  tags,
CppCodeCompletion::CompletionMode  mode = CppCodeCompletion::NormalCompletion
[static]
 

Definition at line 277 of file codeinformationrepository.cpp.

References KTextEditor::CompletionEntry::text, toEntry(), and toEntryList().

Referenced by getEntriesInScope(), and toEntryList().


Member Data Documentation

QValueList<KTextEditor::CompletionEntry> CodeInformationRepository::m_globalEntries [private]
 

Definition at line 43 of file codeinformationrepository.h.

Referenced by getEntriesInScope().

KDevCodeRepository* CodeInformationRepository::m_rep [private]
 

Definition at line 44 of file codeinformationrepository.h.

Referenced by getTagsInFile(), and query().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Oct 19 08:02:00 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003