Book a Demo

Author Topic: Code engineering : C++ template file problem  (Read 2480 times)

nicholas_yue

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Code engineering : C++ template file problem
« on: March 19, 2007, 12:11:54 am »
Hi,

 While following the STL convention of not putting a ".h" extension to template header file, I have yet to find a way to tell EA to import those files.

 I have developed a set of template classes which I'd like EA to reverse engineer.

 Is this a know limitation? Should I stick to using ".h" extension? Or is there a solution/workaround?

 Switching to using ".h" has associated problem because I need to update my unit test, auto-documentation tools etc....there is a flow on effect. So I'd rather not go down that path if possible.


Regards

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8098
  • Karma: +118/-20
    • View Profile
Re: Code engineering : C++ template file problem
« Reply #1 on: March 19, 2007, 01:02:26 pm »
The best I can recommend is to right click on a diagram, select Import Source File(s) | C++.
Change the filter to *.* and select all of your files.