Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Doxygen STL support using dot graphs

I'm working on documenting a legacy c++/fortran mixed code using doxygen (version 1.8.0 on a xubuntu 12.04 machine). My dot_graphs, call graphs, and caller graphs are working properly except when the stl std::vector class is being used.

I have some class foo which needs to contain a vector of another class bar.

class foo
{
  //What i'd like to do (1)
  std::vector<bar> d_bars
  //What works (2)
  bar* d_bars
};
class bar
{
  SOME_FUNCTION();
}

The bar class contains a variety of functions such as "SOME_FUNCTION()". When a function within the foo class calls SOME_FUNCTION:d_bars[i].SOME_FUNCTION(); the caller graph is generated only when d_bars is declared in the second way. This doesn't work with the current code and need to work while being declared in the first method using the stl vector class.

I already have BUILTIN_STL_SUPPORT = YES. I know my code isn't perfect above. I hope you can catch the drift. My code is quite huge, so I tried to simplify it.

like image 608
David Folkner Avatar asked Nov 04 '22 22:11

David Folkner


1 Answers

You should have the option BUILTIN_STL_SUPPORT turned on.

like image 91
piokuc Avatar answered Nov 09 '22 06:11

piokuc