"krbyxtrm" <kr******@gmail.com> wrote in message
news:11********************@v46g2000cwv.googlegrou ps.com...
Any knows of a Function Signature string Parser?
typically one that can parse string:
"unsigned int const * __cdecl MyFunction(int,void const *)"
into:
0 : 'unsigned int const *'
1 : '__cdecl'
2 : 'MyFunction'
3 : 'int'
4 : 'void const *'
You essentially have to parse the entire C++ language to do this.
(Consider a function signature involving a template defined in terms of
typedefs using macros ....)
The DMS Software Reengineering Toolkit has a full C++ parser
that can be used to extract function signatures.
See
http://www.semanticdesigns.com/Produ...pFrontEnd.html
--
Ira Baxter, CTO
www.semanticdesigns.com