On Sun, Sep 22, 2013 at 11:48 AM, Tom Browder <[email protected]> wrote:
> On Sun, Sep 22, 2013 at 11:22 AM, Tom Browder <[email protected]> wrote:
>> On Fri, Sep 20, 2013 at 8:13 AM, Tom Browder <[email protected]> wrote:
> ..
> However, maybe a macro can hide the arg type flag from the user on the
> C side.  Something like:
...

Okay, I think I have a working demo of pretty much what Sean wants for
the TCLAP arg parsing API:

0. limited exposure of TCLAP API
1. all static initialization
2. simple user interface via macro initialization
3. no dynamic memory use except that used inside C++ which is
ostensibly managed by it
4. clean up at program exit is automatic

I apologize for the constant wiping of the chalk, er, white board and
rewriting, but I just committed my 3rd and final (I promise, at least
until I get feedback) proof of concept for arg parsing ready for
critique.  See file 'dsp_add3.c' for its use.

Best,

-Tom

------------------------------------------------------------------------------
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/22/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to