tags:

views:

300

answers:

2

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?

A: 

doxygen has several methods to exclude code from the documentation by way of setting options in the configuration file.

If your methods are private then set EXTRACT_PRIVATE = NO

You can also specify to exclude patterns, for example, if your private classes are located in a directory called hidden, you can exclude all files in that directory by setting.

EXCLUDE_PATTERNS = */hidden/*

Also you can avoid including non documented code by setting.

HIDE_UNDOC_CLASSES = YES

and

HIDE_UNDOC_MEMBERS = NO
Alon
These are C# internal classes which are different than private classes. They have assembly scope: Only other code inside the same assembly can see them. I don't want these classes visible in the documentation, I only want public classes visible.
Mike Gates
A: 

Hi Gates. i am trying doxygen with c#.net. i have to parse .c and .h files, by that i have to generate documentation for those files in rtf format using doxygen and front end is c#.net windows application.

Please mail me any coding or any sample project already having with u.Eagerly waiting fr ur reply. u can mail me at [email protected]

thanks In advance, suresh kapisetty

suresh
I'm not sure what you are asking for.
Mike Gates