kdevplatform/language/duchain
importers.cpp
Go to the documentation of this file.
51 //We only compare the declaration. This allows us implementing a map, although the item-repository
148 //Check whether the item is already in the mapped list, else copy the list into the new created item
#define DEFINE_LIST_MEMBER_HASH(container, member, type)
Definition: appendedlist.h:218
#define FOREACH_FUNCTION(item, container)
Foreach macro that takes a container and a function-name, and will iterate through the vector returne...
Definition: appendedlist.h:213
KDevVarLengthArray< IndexedDUContext > importers(const DeclarationId &id) const
Gets the top-contexts of all users assigned to the declaration-id.
Definition: importers.cpp:189
void removeImporter(const DeclarationId &id, const IndexedDUContext &use)
Removes the given top-context from the list of uses.
Definition: importers.cpp:163
Global mapping of Declaration-Ids to contexts that import the associated context, protected through D...
Definition: importers.h:41
Definition: abstractfunctiondeclaration.cpp:27
void addImporter(const DeclarationId &id, const IndexedDUContext &use)
Adds a top-context to the users-list of the given id.
Definition: importers.cpp:136
#define START_APPENDED_LISTS(container)
use this if the class does not have a base class that also uses appended lists
Definition: appendedlist.h:250
Represents a context only by its global indices.
Definition: indexedducontext.h:35
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Apr 10 2021 23:30:23 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Apr 10 2021 23:30:23 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.