Archived

This topic is now archived and is closed to further replies.

_walrus

Putting macros in comment blocks

Recommended Posts

_walrus    126
Hi, is it possible to use macros defines in comment blocks? I want to beable to include common header info in my code documentation when I use document generators. Thanks Example: #define __TITLE_BAR__ <table BORDER=0 WIDTH="100%"><th scope="col" colspan="1" bgcolor="#0055BB" align="left" valign="middle"> #define __END_TITLE_BAR__ </th></table> /* @class @discussion __TITLE_BAR__ General Class Overview __END_TITLE_BAR__ description text here.... __TITLE_BAR__ Class Usage __END_TITLE_BAR__ describe how to use the class here... */ [edited by - _walrus on April 29, 2003 9:59:21 AM] [edited by - _walrus on April 29, 2003 10:00:20 AM]

Share this post


Link to post
Share on other sites
flangazor    516
No.
And it should be that way. The macro language is for the language and generating the language in question.

In the comment block, you can write your html, though. Copy and paste. Or get the doxygen source and add some macro thingies like you want.

Good luck

Share this post


Link to post
Share on other sites