Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Sean Doherty on December 28, 2002, 05:57:32 pm

Title: Factory Collection Classes in C++
Post by: Sean Doherty on December 28, 2002, 05:57:32 pm
 ::)I am trying to create the following STL list using EA and the code forward generation, but I am experiencing problems different problems:

list<CPlayer> * m_lstCPlayer;

If think I should be able to do this just by putting a association between my two classes, but it never generates the proper code.  How is this done?  PS: I also reverse engineer to it has to work both ways.

Thanks :'(

Title: Re: Factory Collection Classes in C++
Post by: Sean Doherty on December 28, 2002, 06:14:49 pm
PS: I did try entering the code into C++ (compiled fine no errors) and reverse engineer.  This did seem to an acceptable attribute into EA, but there is no relationship created.  And if I create a relationship I get the wrong code?

Please help?