Book a Demo

Author Topic: Global functions and constants  (Read 2767 times)

justins

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Global functions and constants
« on: September 18, 2008, 07:23:02 pm »
Hi,

We are reverse engineering code from both C++ and Delphi code into Enterprise Architect. Unfortunately we cannot find any reference to the global functions and constants that exist in our code once the process is complete. Does Enterprise Architect cater for global functions and constants? If so how do we go about defining them?

Thanks,
Justin

Nizam Mohamed

  • EA User
  • **
  • Posts: 193
  • Karma: +1/-0
    • View Profile
Re: Global functions and constants
« Reply #1 on: September 23, 2008, 02:14:30 pm »
EA's compliance with UML avoids c++ global functions / constants to be mapped as constructs in the reverse engineered classes currently. But synchronizing changes in the reverse engineered model with actual code will still retain your global declarations.

justins

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Global functions and constants
« Reply #2 on: September 23, 2008, 04:51:45 pm »
Thanks for your reply Nizam. We can solve the global functions problem by defining classes for those functions but will have to find a way to include our constants in the design documentation.