Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » C++ class code generation using CDT
C++ class code generation using CDT [message #1745737] Sun, 16 October 2016 15:39
Eclipse UserFriend
I want to programmatically create C++ classes. It is possible to create AST then generate code. But I prefer working with higher level classes like CompositeCPPClassType.
The problem is that there is no way to manipulate IBinding objects like CompositeCPPClassType programmatically. I want to use C++ bindings because, I use legacy classes as a part input for code generation. So I, need CDT dom API to get C++ model from source code.

I found a possible soultion: I might create subclasses of IBinding interfaces allowing manipulation. Also, I need some classes regenerate AST from them.. But, I'm not sure whether it is feasible.

Do you suggest another approach?

Thanks
Previous Topic:Arduino AVR Boards not installed, no errors were reported. HELP!
Next Topic:How a MBSCustomPage instance can get current toolchain ?
Goto Forum:
  


Current Time: Tue Jul 01 12:04:02 EDT 2025

Powered by FUDForum. Page generated in 0.06438 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top