Alex Rivera | Logout

Doxygen with C# internal access modifier

Asked 2009-12-07T19:30:02.417
13

I am using Doxygen to generate some API docs for a C# project I am working on. I have quite a bit of "internal" functionality in this project and don't want Doxygen producing these signatures in the generated html it produces.

I have tried enabling HIDE_FRIEND_COMPOUNDS but this still results in my internal classes being exposed in the generated documentation.

Does anyone know how to do this?

Edit
Report

1 Answer

5

This is an old entry, but I had the same issue.

A method that works for me is to simply use the 'predefine' feature of doxygen. If you predefine 'internal=private' (which is equivalent to doing a '#define internal private') then Doxygen will see all 'internal' properties as 'private' - and so ignore them if requested.

It's a kludge -but it works.

answered 2011-06-09T09:06:33.260

Your Answer