Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » How to create new function to c++ class or method declaration in header file in Java?
How to create new function to c++ class or method declaration in header file in Java? [message #177698] Mon, 02 October 2006 10:09
Eclipse UserFriend
Originally posted by: dozebox.gmail.com

Hi,

How I can use CDT to create new functions to cpp file and method
declarations to headers in Java eclipse plugin? I have tried to make a new
MethodDeclaration object and add it using Structure.addChild() and it get's
added to the class ok, but I can't save the translation unit?
TranslationUnit().hasUnsavedChanges() returns false and
TranslationUnit().save() does nothing. I read somewhere that TranslationUnit
has been read-only at some stage, is it still? I also read that some code
generating framework has been in the works, but has it been released yet?

Is there any way to do this, or am I doing something wrong? Thanks for any
reply!

-doze
Previous Topic:Compiling with Microsoft SDK
Next Topic:CDT 3.1.1 Now Available
Goto Forum:
  


Current Time: Fri May 09 03:41:07 EDT 2025

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

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

Back to the top