Book a Demo

Author Topic: Import C++ class & storage-class modifier  (Read 3329 times)

sikora

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Import C++ class & storage-class modifier
« on: January 29, 2004, 05:39:39 am »
If I use storage-class modifier in C++ source code then the reverse engineering process creates a class with the name of storage-class modifier. If I have defined more of such classess in one source file then the reverse engineering process is in progress without finishing and I have to cancel the application Enterprise Architect. :(

example from source code:
class DllExpImp CListMstItem : public CList<tstMstItem, tstMstItem&>

class name is CListMstItem but the class DllExpImp is created

Have I to remove the storage-class modifier before the reverse engineering process or is there any other way ?

Thank you for any help.
« Last Edit: January 29, 2004, 05:45:50 am by sikora »

benc

  • EA Administrator
  • EA User
  • *****
  • Posts: 200
  • Karma: +0/-0
    • View Profile
Re: Import C++ class & storage-class modifier
« Reply #1 on: February 01, 2004, 02:12:03 pm »
Hi sikora,

I think this post may be related to this issue:

http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.cgi?board=general;action=display;num=1073200530;start=1#1

Basically you can define DllExpImp as a C++ macro and EA will ignore it during import.

I hope this helps.

Regards,
Ben

sikora

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Import C++ class & storage-class modifier
« Reply #2 on: February 02, 2004, 12:12:51 am »
Thanks a lot for your answer.  :)

It was exactly what I needed.