@mgrouporder tag

This tag changes member list group position in compound documentation. It changes the position of the member group associated with the current declaration relatively to other groups. It can be used on predefined groups and custom groups.

Predefined groups have the weights given in table below, subtract 20 for protected members and 40 for private members.

Member group
weight
namespaces
1000
types
900
functions
800
static functions
700
qt slots
600
qt signals
500
constants
400
variables/fields
300
macros
200

See also @mgroup tag and @order tag.

Syntax [link] 

@mgrouporder <number>

Example [link] 

These declarations:

class MGroupOrder
{
public:

/** @mgrouporder 0 */
typedef int foo_type_t;

int foo();
int bar();

/** @mgroup {Accessors}
@mgrouporder 1100
*/

int get_a() const;

/** @mgroup {Accessors} */
void set_a(int a);

generate the following members list for the MGroupOrder class:

Accessors [link] 

  • int get_a() const
  • void set_a(int a)

Functions [link] 

  • int bar()
  • int foo()

Type [link] 

  • typedef [...] foo_type_t
Valid XHTML 1.0 StrictGenerated by diaxen on Wed Jan 27 15:46:24 2021 using MkDoc