Book a Demo

Author Topic: code engineering  (Read 4011 times)

Dennis

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
code engineering
« on: May 23, 2002, 04:12:55 am »
Hi all,

I don't know if the following is either a bug or a miss understanding from me (it prob. is  ;D) but I've got the following problem:
When I try to generate C++ code from my class diagram the following happens:
- aggregations and assosiations are made public where I would like them to have private.
- composits are half generated! Only the header file is included but no (private) member attribute is created.

Is this a bug or am I pressing the wrong buttons??

thanks in advance,
Dennis

ps I'm using EA v. 3.10 Build 487
« Last Edit: May 23, 2002, 07:31:59 am by Dennis »

RenatoMM

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: code engineering
« Reply #1 on: May 23, 2002, 02:49:23 pm »
Hi Dennis,
   I observed the same thing, and another thing about the operations behaviour, that is not being copyied to the operation's body during the code generation in C++. I am using the 489 build. I posted a message few days ago, but I don't get any help until now... :-[

Duc-bert

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: code engineering
« Reply #2 on: May 23, 2002, 04:34:44 pm »
Hi Dennis & DenatoMM,

Yep, I ran into the same issue too but when I explicity specify a private memeber variable that represents the aggregation or association link then the code gen looks OK.

Enjoy. :)
« Last Edit: May 23, 2002, 04:35:02 pm by Duc-bert »