diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2021-04-29 17:26:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-29 17:26:11 (GMT) |
commit | b8a3ff6c33264c43cdf30c04baa9793e7e8d51a2 (patch) | |
tree | 9d60ced4b8fceb00c068b56d699c1ba57540d415 /src/dotincldepgraph.h | |
parent | 4dba9fbdda10889d2285b85b7e9ff6282b34fccf (diff) | |
parent | c6d77227efaf332a5d24bc12d32f4b1fec6b13b9 (diff) | |
download | Doxygen-b8a3ff6c33264c43cdf30c04baa9793e7e8d51a2.zip Doxygen-b8a3ff6c33264c43cdf30c04baa9793e7e8d51a2.tar.gz Doxygen-b8a3ff6c33264c43cdf30c04baa9793e7e8d51a2.tar.bz2 |
Merge branch 'master' into feature/bug_305773
Diffstat (limited to 'src/dotincldepgraph.h')
-rw-r--r-- | src/dotincldepgraph.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/dotincldepgraph.h b/src/dotincldepgraph.h index 5807ce8..a0e58bf 100644 --- a/src/dotincldepgraph.h +++ b/src/dotincldepgraph.h @@ -19,22 +19,25 @@ #include "qcstring.h" #include "filedef.h" +#include "dotnode.h" #include "dotgraph.h" +class TextStream; + /** Representation of an include dependency graph */ class DotInclDepGraph : public DotGraph { public: DotInclDepGraph(const FileDef *fd,bool inverse); ~DotInclDepGraph(); - QCString writeGraph(FTextStream &t, GraphOutputFormat gf, EmbeddedOutputFormat ef, - const char *path,const char *fileName,const char *relPath, + QCString writeGraph(TextStream &t, GraphOutputFormat gf, EmbeddedOutputFormat ef, + const QCString &path,const QCString &fileName,const QCString &relPath, bool writeImageMap=TRUE,int graphId=-1); bool isTrivial() const; bool isTooBig() const; int numNodes() const; - void writeXML(FTextStream &t); - void writeDocbook(FTextStream &t); + void writeXML(TextStream &t); + void writeDocbook(TextStream &t); protected: virtual QCString getBaseName() const; @@ -44,11 +47,11 @@ class DotInclDepGraph : public DotGraph private: QCString diskName() const; void buildGraph(DotNode *n,const FileDef *fd,int distance); - void determineVisibleNodes(QList<DotNode> &queue,int &maxNodes); - void determineTruncatedNodes(QList<DotNode> &queue); + void determineVisibleNodes(DotNodeDeque &queue,int &maxNodes); + void determineTruncatedNodes(DotNodeDeque &queue); DotNode *m_startNode; - QDict<DotNode> *m_usedNodes; + DotNodeMap m_usedNodes; QCString m_inclDepFileName; QCString m_inclByDepFileName; bool m_inverse; |