Book a Demo

Author Topic: C++ code generation  (Read 2676 times)

cor

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
C++ code generation
« on: June 21, 2004, 04:47:02 am »
Hi !

I made a reverse engineering of my "hallo world" MFC application and everything worked fine.
I added an attribute and started forward engineering => everything is fine.

I renamed the attribute and again started the forward engineering => I have two attributes in the source code (one with the old name; one with the new name)

Is there an option or what is my mistake ?

Thanks,
cor

Barry_Pearce

  • EA User
  • **
  • Posts: 70
  • Karma: +0/-0
    • View Profile
Re: C++ code generation
« Reply #1 on: June 24, 2004, 10:09:19 am »
This is normal functionality - but we believe that there should be options to alter this behviour as it is particularly undesriable if you do as we do and only forwards engineer.

The problem the tool is aimed (too heavily in my opinion) towards round-trip/sync folks (who probably see the case tool as an annoyance and its far faster to code by hand and then fix the model....never mind what the implications for the overall design might be....<flak jacket on><big grin>).

I will be pushing EA in the next week to get some changes to make life more approriate - in the mean time I suggest that you may wish to try an post-process the code do match what you require - we have python post-processors to fix a number of code-gen bugs and issues...