Debian Codegraph @

documentation/source/groups.rst

raw
1
2 Groups
3 ======
4
5 .. cpp:namespace:: @ex_groups
6
7 Breathe has basic support for the grouping functionality that Doxygen provides.
8
9 Using the example from the Doxygen docs:
10
11 .. literalinclude:: code/groups.h
12 :language: cpp
13
14 If we reference this with a directive, for example:
15
16 .. code-block:: rst
17
18 .. doxygenclass:: UserDefinedGroupTest
19 :project: userdefined
20 :members:
21 :protected-members:
22
23 It renders as:
24
25 .. doxygenclass:: UserDefinedGroupTest
26 :project: userdefined
27 :members:
28 :protected-members:
29
30
31 .. note::
32
33 Any groups which are not named in the original source code will appear as
34 **Unnamed Group** in the final output. This is different to Doxygen which
35 will number the groups and so name them as Group1, Group2, Group3, etc.