KDevelop API Documentation

CodeModelUtils Namespace Reference


Classes

struct  CodeModelUtils::Scope
struct  CodeModelUtils::AllFunctions
struct  CodeModelUtils::AllFunctionDefinitions
class  CodeModelUtils::PredDefinitionMatchesDeclaration
 Predicate for use with findFunctionDefintions. More...

Functions

FunctionList allFunctions (const FileDom &dom)
AllFunctions allFunctionsDetailed (const FileDom &dom)
AllFunctionDefinitions allFunctionDefinitionsDetailed (const FileDom &dom)
bool compareDeclarationToDefinition (const FunctionDom &dec, const FunctionDefinitionDom &def)
 Compare a declaration and a defintion of a function.
template<class Pred>
void findFunctionDefinitions (Pred pred, const FileList &fileList, FunctionDefinitionList &lst)
template<class Pred>
void findFunctionDefinitions (Pred pred, const NamespaceDom &ns, FunctionDefinitionList &lst)
template<class Pred>
void findFunctionDefinitions (Pred pred, const NamespaceList &namespaceList, FunctionDefinitionList &lst)
template<class Pred>
void findFunctionDefinitions (Pred pred, const ClassList &classList, FunctionDefinitionList &lst)
template<class Pred>
void findFunctionDefinitions (Pred pred, const FunctionDefinitionList &functionDefinitionList, FunctionDefinitionList &lst)
template<class Pred>
void findFunctionDefinitions (Pred pred, const ClassDom &klass, FunctionDefinitionList &lst)
template<class Pred>
void findFunctionDefinitions (Pred pred, const FunctionDefinitionDom &fun, FunctionDefinitionList &lst)
template<class Pred>
void findFunctionDefinitions (Pred pred, FunctionDefinitionList &lst)
template<class Pred>
void findFunctionDeclarations (Pred pred, const FileList &fileList, FunctionList &lst)
template<class Pred>
void findFunctionDeclarations (Pred pred, const NamespaceDom &ns, FunctionList &lst)
template<class Pred>
void findFunctionDeclarations (Pred pred, const NamespaceList &namespaceList, FunctionList &lst)
template<class Pred>
void findFunctionDeclarations (Pred pred, const ClassList &classList, FunctionList &lst)
template<class Pred>
void findFunctionDeclarations (Pred pred, const FunctionList &functionDefinitionList, FunctionList &lst)
template<class Pred>
void findFunctionDeclarations (Pred pred, const ClassDom &klass, FunctionList &lst)
template<class Pred>
void findFunctionDeclarations (Pred pred, const FunctionDefinitionDom &fun, FunctionList &lst)
template<class Pred>
void findFunctionDeclarations (Pred pred, FunctionList &lst)
template<class Pred>
void findFunctionDeclarations (Pred pred, const FunctionDom &fun, FunctionList &lst)


Function Documentation

AllFunctionDefinitions CodeModelUtils::allFunctionDefinitionsDetailed const FileDom dom  ) 
 

Definition at line 270 of file codemodel_utils.cpp.

References ClassList, FileDom, FunctionDefinitionList, CodeModelUtils::AllFunctionDefinitions::functionList, NamespaceList, CodeModelUtils::FunctionDefinitions::processClasses(), CodeModelUtils::FunctionDefinitions::processNamespaces(), and CodeModelUtils::AllFunctionDefinitions::relations.

Referenced by CppSupportPart::contextMenu(), QuickOpenFunctionDialog::QuickOpenFunctionDialog(), Navigator::refreshNavBars(), and DoxygenPart::slotDocumentFunction().

FunctionList CodeModelUtils::allFunctions const FileDom dom  ) 
 

Definition at line 218 of file codemodel_utils.cpp.

References ClassList, FileDom, FunctionList, NamespaceList, CodeModelUtils::FunctionDefinitions::processClasses(), and CodeModelUtils::FunctionDefinitions::processNamespaces().

Referenced by CppSupportPart::contextMenu(), Navigator::refreshNavBars(), and DoxygenPart::slotDocumentFunction().

AllFunctions CodeModelUtils::allFunctionsDetailed const FileDom dom  ) 
 

Definition at line 244 of file codemodel_utils.cpp.

References ClassList, FileDom, FunctionList, CodeModelUtils::AllFunctions::functionList, NamespaceList, CodeModelUtils::FunctionDefinitions::processClasses(), CodeModelUtils::FunctionDefinitions::processNamespaces(), and CodeModelUtils::AllFunctions::relations.

bool CodeModelUtils::compareDeclarationToDefinition const FunctionDom dec,
const FunctionDefinitionDom def
 

Compare a declaration and a defintion of a function.

Parameters:
dec declaration
def definition
Returns:
true, if dec is the declaration of the functiondefinition def, false otherwise
Author:
Jonas Jacobi <j.jacobi@gmx.de>

Definition at line 296 of file codemodel_utils.cpp.

References ArgumentList, FunctionDefinitionDom, and FunctionDom.

Referenced by CppSupportPart::contextMenu(), and CodeModelUtils::PredDefinitionMatchesDeclaration::operator()().

template<class Pred>
void findFunctionDeclarations Pred  pred,
const FunctionDom fun,
FunctionList lst
 

Definition at line 154 of file codemodel_utils.h.

References FunctionDom, and FunctionList.

Referenced by findFunctionDeclarations().

template<class Pred>
void findFunctionDeclarations Pred  pred,
FunctionList lst
 

template<class Pred>
void findFunctionDeclarations Pred  pred,
const FunctionDefinitionDom fun,
FunctionList lst
 

template<class Pred>
void CodeModelUtils::findFunctionDeclarations Pred  pred,
const ClassDom klass,
FunctionList lst
 

Definition at line 147 of file codemodel_utils.h.

References ClassDom, findFunctionDeclarations(), and FunctionList.

template<class Pred>
void CodeModelUtils::findFunctionDeclarations Pred  pred,
const FunctionList functionDefinitionList,
FunctionList lst
 

Definition at line 140 of file codemodel_utils.h.

References findFunctionDeclarations(), and FunctionList.

template<class Pred>
void CodeModelUtils::findFunctionDeclarations Pred  pred,
const ClassList classList,
FunctionList lst
 

Definition at line 133 of file codemodel_utils.h.

References ClassList, findFunctionDeclarations(), and FunctionList.

template<class Pred>
void CodeModelUtils::findFunctionDeclarations Pred  pred,
const NamespaceList namespaceList,
FunctionList lst
 

Definition at line 126 of file codemodel_utils.h.

References findFunctionDeclarations(), FunctionList, and NamespaceList.

template<class Pred>
void CodeModelUtils::findFunctionDeclarations Pred  pred,
const NamespaceDom ns,
FunctionList lst
 

Definition at line 118 of file codemodel_utils.h.

References findFunctionDeclarations(), FunctionList, and NamespaceDom.

template<class Pred>
void CodeModelUtils::findFunctionDeclarations Pred  pred,
const FileList fileList,
FunctionList lst
 

Definition at line 111 of file codemodel_utils.h.

References FileList, findFunctionDeclarations(), and FunctionList.

Referenced by Navigator::selectFunctionNav().

template<class Pred>
void findFunctionDefinitions Pred  pred,
FunctionDefinitionList lst
 

Referenced by findFunctionDefinitions().

template<class Pred>
void CodeModelUtils::findFunctionDefinitions Pred  pred,
const FunctionDefinitionDom fun,
FunctionDefinitionList lst
 

Definition at line 83 of file codemodel_utils.h.

References FunctionDefinitionDom, and FunctionDefinitionList.

template<class Pred>
void CodeModelUtils::findFunctionDefinitions Pred  pred,
const ClassDom klass,
FunctionDefinitionList lst
 

Definition at line 76 of file codemodel_utils.h.

References ClassDom, findFunctionDefinitions(), and FunctionDefinitionList.

template<class Pred>
void CodeModelUtils::findFunctionDefinitions Pred  pred,
const FunctionDefinitionList functionDefinitionList,
FunctionDefinitionList lst
 

Definition at line 69 of file codemodel_utils.h.

References findFunctionDefinitions(), and FunctionDefinitionList.

template<class Pred>
void CodeModelUtils::findFunctionDefinitions Pred  pred,
const ClassList classList,
FunctionDefinitionList lst
 

Definition at line 62 of file codemodel_utils.h.

References ClassList, findFunctionDefinitions(), and FunctionDefinitionList.

template<class Pred>
void CodeModelUtils::findFunctionDefinitions Pred  pred,
const NamespaceList namespaceList,
FunctionDefinitionList lst
 

Definition at line 55 of file codemodel_utils.h.

References findFunctionDefinitions(), FunctionDefinitionList, and NamespaceList.

template<class Pred>
void CodeModelUtils::findFunctionDefinitions Pred  pred,
const NamespaceDom ns,
FunctionDefinitionList lst
 

Definition at line 47 of file codemodel_utils.h.

References findFunctionDefinitions(), FunctionDefinitionList, and NamespaceDom.

template<class Pred>
void CodeModelUtils::findFunctionDefinitions Pred  pred,
const FileList fileList,
FunctionDefinitionList lst
 

Definition at line 40 of file codemodel_utils.h.

References FileList, findFunctionDefinitions(), and FunctionDefinitionList.

Referenced by FunctionDomBrowserItem::hasImplementation(), FunctionDomBrowserItem::openImplementation(), and Navigator::selectFunctionNav().

KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:50:11 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003