# C++ Commenting for Doxygen

**URL:** <https://www.ruby-forum.com/t/c-commenting-for-doxygen/90233>\
**Category:** GNU Radio\
**Created:** [March 26, 2007, 11:07pm UTC](https://www.ruby-forum.com/t/c-commenting-for-doxygen/90233 "2007-03-26T23:07:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gregory\_W\_Heckler](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/58f4c7/32.png) [@Gregory\_W\_Heckler](https://www.ruby-forum.com/u/Gregory_W_Heckler)\
**Post date:** [March 26, 2007, 11:07pm UTC](https://www.ruby-forum.com/t/c-commenting-for-doxygen/90233/1 "2007-03-26T23:07:06Z")

</div>

Is there a proper way to format comments in my DBS-RX driver’s source to  
be included in the doxygen documentation? I would like to do this prior  
to submission of the driver. Thanks.

Greg Heckler

---

<div class="post-metadata">

**Author:** ![Gregory\_W\_Heckler](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/58f4c7/32.png) [@Gregory\_W\_Heckler](https://www.ruby-forum.com/u/Gregory_W_Heckler)\
**Post date:** [March 27, 2007, 12:15am UTC](https://www.ruby-forum.com/t/c-commenting-for-doxygen/90233/2 "2007-03-27T00:15:17Z")

</div>

On Mon, Mar 26, 2007 at 05:05:38PM -0400, Gregory W Heckler wrote:

> Is there a proper way to format comments in my DBS-RX driver’s source to  
> be included in the doxygen documentation? I would like to do this prior  
> to submission of the driver. Thanks.
> 
> Greg Heckler

Sure, thanks for asking.

We use the

/\*!

- doxygen comments go here…  
\*/

format.

There’s a pretty big user manual here:  
[http://www.stack.nl/~dimitri/doxygen/manual.html](http://www.stack.nl/~dimitri/doxygen/manual.html)

and this describes the directives:  
[http://www.stack.nl/~dimitri/doxygen/docblocks.html](http://www.stack.nl/~dimitri/doxygen/docblocks.html)

But the main things we’re looking for are

/\*!  
\brief one liner about class or free function

Followed by a paragraph that talks about what it does, including the  
parameters. See the \param directive.  
\*/

Eric
