Doxygen @param direction arguments [in],[out],[in,out] example output

ThomasMcLeod picture ThomasMcLeod · Apr 9, 2016 · Viewed 28.6k times · Source

The optional direction argument for the @param command is documented here as one of the following:

@param[in]
@param[out]
@param[in,out]

I do not see in any of the example sites how this information appears in the output. Is there an example of how this information should appear in the output?

Answer

Thomas Matthews picture Thomas Matthews · Apr 9, 2016

For the line:

\param[in,out] console_ptr - pointer to input from the console

I get:

Parameters
    [in,out]    console_ptr - pointer to input from the console.