Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Exclude base library inclusions from Doxygen dependency graph?

I'm documenting a c++ project for college with Doxygen, and everything is correct, but the dependency graph shows like this:dependency graph

I would like that the graph doesn't show inclusions such as list, map or string, and only includes custom Classes i created for the project, but i can't find anything online or on the docs. Does anyone know how to do this?

like image 351
Aleix Sanchis Avatar asked May 02 '16 16:05

Aleix Sanchis


2 Answers

Since you want to exclude the stdlib container classes, you should probably add the std:: namespace to your doxyfile:

EXCLUDE_SYMBOLS = std::*

This will ignore all classes located in that namespace, and thus skip them in the generated diagram.

like image 143
Tobias Springer Avatar answered Nov 20 '22 13:11

Tobias Springer


You may want to have a look at this answer:

/** @cond */
#include <string>
// include more headers
/** @endcond */

Not that this solution is particularly beautiful but it seems to work. Note, you may have to have the @file tag defined.

like image 38
DomTomCat Avatar answered Nov 20 '22 12:11

DomTomCat