Doxygen oddity: Enum Handling

Jason McKesson <[email protected]>
Newsgroups gmane.text.doxygen.devel
Message-ID <[email protected]>
As anyone who has bothered to spend any time in the Doxygen codebase can 
attest to, it is in serious need of refactoring. As I am spending quite 
a bit of time in that code, I figured it would be helpful to document 
some of the oddities about how Doxygen behaves, just in case anyone 
decides to go through and attempt to correct them.

The one I've most recently found involves how enumerations are handled. 
If an enumeration is found in a class, it is actually handled slightly 
differently from if it is found in a namespace. In a class, the members 
of the enumeration are stored in both the enumeration MemberDef, as well 
as direct children of the ClassDef itself. For NamespaceDefs, only the 
enumeration MemberDef has enumeration members. So if you expect to see 
enum values in the list of NamespaceDef members, you're going to find 
yourself disappointed.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.