kdevplatform/language/duchain
topducontextdynamicdata.h
Go to the documentation of this file.
133 ItemDataInfo writeDataInfo(const ItemDataInfo& info, const DUChainBaseData* data, uint& totalDataOffset);
uint position
Definition: topducontextdynamicdata.h:118
Q_DECLARE_TYPEINFO(KDevelop::TopDUContextDynamicData::ItemDataInfo, Q_PRIMITIVE_TYPE)
bool isTemporaryContextIndex(uint index) const
Definition: topducontextdynamicdata.cpp:826
bool isContextForIndexLoaded(uint index) const
Definition: topducontextdynamicdata.cpp:821
static TopDUContext * load(uint topContextIndex)
Loads the top-context from disk, or returns zero on failure.
Definition: topducontextdynamicdata.cpp:594
DUContext * contextForIndex(uint index) const
Definition: topducontextdynamicdata.cpp:836
~TopDUContextDynamicData()
Definition: topducontextdynamicdata.cpp:495
Flag used during destruction.
Definition: topducontextdynamicdata.h:109
void clearProblems()
Definition: topducontextdynamicdata.cpp:874
uint dataOffset
Definition: topducontextdynamicdata.h:111
uint allocateDeclarationIndex(Declaration *decl, bool temporary)
Allocates an index for the given declaration in this top-context.
Definition: topducontextdynamicdata.cpp:801
Declaration * declarationForIndex(uint index) const
Definition: topducontextdynamicdata.cpp:848
Represents a single declaration in a definition-use chain.
Definition: declaration.h:51
static QList< IndexedDUContext > loadImports(uint topContextIndex)
Definition: topducontextdynamicdata.cpp:524
This class contains dynamic data of a top-context, and also the repository that contains all the data...
Definition: topducontextdynamicdata.h:37
uint allocateContextIndex(DUContext *ctx, bool temporary)
Allocates an index for the given context in this top-context.
Definition: topducontextdynamicdata.cpp:806
TopDUContextDynamicData(TopDUContext *topContext)
Definition: topducontextdynamicdata.cpp:473
void clearDeclarationIndex(Declaration *decl)
Definition: topducontextdynamicdata.cpp:864
The top context in a definition-use chain for one source file.
Definition: topducontext.h:113
bool isDeclarationForIndexLoaded(uint index) const
Definition: topducontextdynamicdata.cpp:816
static IndexedString loadUrl(uint topContextIndex)
Loads only the url out of the data stored on disk for the top-context.
Definition: topducontextdynamicdata.cpp:535
void clearContextIndex(DUContext *ctx)
Definition: topducontextdynamicdata.cpp:869
uint allocateProblemIndex(const ProblemPointer &problem)
Allocates an index for the given problem in this top-context.
Definition: topducontextdynamicdata.cpp:811
bool isTemporaryDeclarationIndex(uint index) const
Definition: topducontextdynamicdata.cpp:831
ProblemPointer problemForIndex(uint index) const
Definition: topducontextdynamicdata.cpp:856
static bool fileExists(uint topContextIndex)
Definition: topducontextdynamicdata.cpp:508
static QList< IndexedDUContext > loadImporters(uint topContextIndex)
Loads only the list of importers out of the data stored on disk for the top-context.
Definition: topducontextdynamicdata.cpp:513
Definition: abstractfunctiondeclaration.cpp:27
A single context in source code, represented as a node in a directed acyclic graph.
Definition: ducontext.h:72
bool isOnDisk() const
Whether this top-context is on disk(Either has been loaded, or has been stored)
Definition: topducontextdynamicdata.cpp:629
bool m_deleting
Definition: topducontextdynamicdata.h:107
Definition: duchainbase.h:59
QByteArray array
Definition: topducontextdynamicdata.h:117
void deleteOnDisk()
Stores all remnants of this top-context that are on disk. The top-context will be fully dynamic after...
Definition: topducontextdynamicdata.cpp:634
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Apr 9 2021 23:29:59 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Apr 9 2021 23:29:59 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.