Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 19:39
Dev Dev is currently offline Dev DevFriend
Messages: 1
Registered: October 2016
Junior Member
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: Fri Jan 28 03:45:52 GMT 2022

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

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

Back to the top