Author Topic: Collection C++ code generation  (Read 327 times)

RdoIs

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Collection C++ code generation
« on: July 23, 2008, 03:15:28 am »
I'm currently testing EA, and I use C++ code generator. I asked EA to generate std::vector< #TYPE# > for default, ordered, and qualified collections. But, I'd like to differenciate between instances references collections, and intances collections: std::vector< #TYPE# *>, and std::vector< #TYPE# >. Is there a mean to do so, by source role aggregation type, or any other way ?

Many thanks to you.

Simon M

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 6336
  • Karma: +53/-5
    • View Profile
Re: Collection C++ code generation
« Reply #1 on: July 23, 2008, 08:01:21 am »
Probably the best thing you can do is specify the type explicitly on the association.
Simon

support@sparxsystems.com