Folks,

I have a file with a bunch of typedefs.

I'm using Apple's recommended method of defining a NS_ENUM macro to declare 
enumeration typedefs.

Normally, I'd define a typedef like so:

typedef enum
{
MyCoolEnum_Value1 = 1,
MyCoolEnum_Value2 = 2
} MyCoolEnum;

However, Apple (Objective C 2.0, really) has created a macro that allows you to 
assign a datatype to the enum, like so:

typedef NS_ENUM ( uInt_16, MyCoolEnum )
{
MyCoolEnum_Value1 = 1,
MyCoolEnum_Value2 = 2
};

Unfortunately, when Doxygen hits this, it sets the enum as "NS_ENUM", instead 
of "MyCoolEnum".

Is there any way for me to get Doxygen to recognize the enum, or should I 
discard the Apple method, and use the plain old-fashioned C++ enum?




[http://download2.nikon.net/images/logo/bsymbol.gif]
Christopher D Marshall
Sr. Software Development Manager

Nikon Inc.
1300 Walt Whitman Road
Melville NY 11747-3064

Office: 631-547-4334    Fax: 631-547-0361

cmarsh...@nikon.net<mailto:cmarsh...@nikon.net>




www.nikonusa.com




[http://download2.nikon.net/images/logo/COOLPIX_A_EmailTag_Rv2.gif] 
<http://www.nikonusa.com/en/Nikon-Products/Product/Compact-Digital-Cameras/26423/COOLPIX-A.html?cid=eml-0613-coolpixa-signature>








CONFIDENTIAL:
This e-mail including any attachments is intended only for the party or parties 
to whom it is addressed and may contain information which is privileged and/or 
confidential. If you are not the intended recipient, you are hereby notified 
that any use, disclosure, dissemination, distribution, copying, or printing of 
any information contained in or attached to this e-mail is STRICTLY PROHIBITED 
and may constitute a breach of confidentiality and/or privilege. If you have 
received this e-mail in error, please notify immediately the sender by reply 
e-mail and then delete this e-mail and any attachments in their entirety from 
your system. Thank you. This e-mail message including any attachments is 
believed to be free of any viruses; however, it is the sole responsibility of 
the recipient to ensure that it is virus free, and Nikon does not accept any 
responsibility for any loss, disruption or damage to your data or computer 
system which may occur in connection with this e-mail including any attachments.
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to