Doxygen a Switch -


I have a large switch statement (or even a large if statement) that I would like to write something in Doxygen, Perhaps in the collar graph, or perhaps in some flow chart formats.

How can I get it? Thanks!

Generally, the use of doxygen is used only to write composite functions, however, Tried to do something from

void Foo (zero) {/// If switch is a condition equal to switch (position) {case VALUE_1: {/// - path 1 \ n / // Path A Detailed Description Foo1 (); break; } Case VALUE_2: {/// - path 2 \ n /// Detailed description of Path B. B. Foo2 (); break; } Case VALUE_3: {/// - path 3 \ n /// Detailed description of Path C. C. Foo3 (); break; } CAS DEFINITION: {/// - default case /// something went wrong}} // end switch}

Under this function Fu put a detailed description, and a bulleted Make a list Remember to remember "-" to create a list of bullets in each case. As far as to create a call graph, you can try using \ dot keywords. However, I have never used it, and it seems that it is really a lot of work to make a useful diagram that tells the path.


Comments