Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Dennis on May 23, 2002, 04:12:55 am

Title: code engineering
Post by: Dennis 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
Title: Re: code engineering
Post by: RenatoMM 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... :-[
Title: Re: code engineering
Post by: Duc-bert 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. :)