Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: nicholas_yue on March 19, 2007, 12:11:54 am

Title: Code engineering : C++ template file problem
Post by: nicholas_yue 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
Title: Re: Code engineering : C++ template file problem
Post by: Eve 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.