Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: MMI on January 30, 2002, 07:02:36 am

Title: Code generation of association to Interface Class
Post by: MMI on January 30, 2002, 07:02:36 am
The C++ code generation for an association between a class and an interface class does not look correct to me. The C++ for the class correctly has a #include to the interface class. However, I would have expected the class to then contain an attribute that is a pointer to the interface class type, i.e. the code that is already generated by the tool for an association between a class and another non-interface class. This is the C++ that is generated by other UML tools.

Assuming that my understanding is correct, can this fix be added quite quickly to EA - we use interface classes a LOT within our system.

Thanks

M
Title: Re: Code generation of association to Interface Cl
Post by: gsparks on February 02, 2002, 04:54:49 am
Hi,

I have updated EA to include this behaviour ... it will be available in the next minor update  ...

Thanks for the feedback - check out the website in a week or so for this update,

Geoff Sparks