Book a Demo

Author Topic: C++ Code Engineering Bug: "inout" parameter  (Read 3080 times)

Rene T.

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
C++ Code Engineering Bug: "inout" parameter
« on: August 20, 2010, 09:26:07 pm »
Aloha!

I think I found a bug in EA's code engineering part:

REPRODUCE:

1. Create a class diagram.
2. Create a class.
3. Add a method to the class.
4. Add a integer parameter to the class, define it as "inout" parameter.
5. Export the class as C++ code.

PROBLEM:

In the diagram, the method's parameter is correctly shown as "int *". However, the exported code contains just an "int" parameter.  :o

Anybody observed that as well?

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: C++ Code Engineering Bug: "inout" parameter
« Reply #1 on: August 23, 2010, 08:17:26 am »
C++ code engineering does not use the parameter direction.  A search should be able to find other reports of this behavior and why it hasn't been done.