Book a Demo

Author Topic: C++ inheritance attribute  (Read 2516 times)

Justin Halls

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
C++ inheritance attribute
« on: July 29, 2005, 01:04:44 pm »
I'm using the latest version of EA for round-trip engineering in C++.  For the most part it works great, but I have run into a situation that EA doesn't seem to recognize.  I want to inherit from another class privately as follows:  

class A: private B
{...}

If I reverse engineer this into EA, then regenerate the code, EA changes it to:

class A: public B
{...}

How can I specify that I want the inheritance to be private?  


Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: C++ inheritance attribute
« Reply #1 on: July 31, 2005, 03:29:22 pm »
Currently there is no way to model this relationship in EA.

(Yes, before you ask, we do intend to make it possible, but can't give any indication of when)

Simon