FET Forum

FET Support (English) => Programming Help => Topic started by: nahuel062 on May 26, 2016, 05:50:55 PM

Title: Algorithm
Post by: nahuel062 on May 26, 2016, 05:50:55 PM
Hi, I would like to know if it would be possible to extract the algorithm from generate.cpp and generate-pre.cpp and export it to another language, like Visual Basic, or Java.

I also wanted to know where is located the database files in the fet folder, and if you have a ER model of the database (entity-relationship model), to help me with my project.
Thanks
Title: Re: Algorithm
Post by: Liviu Lalescu on May 26, 2016, 06:01:19 PM
Quote from: nahuel062 on May 26, 2016, 05:50:55 PM
Hi, I would like to know if it would be possible to extract the algorithm from generate.cpp and generate-pre.cpp and export it to another language, like Visual Basic, or Java.


It is possible. But of course complicated. And you need to implement, if not available, the classes for list, set and hash.

Quote

I also wanted to know where is located the database files in the fet folder, and if you have a ER model of the database (entity-relationship model), to help me with my project.
Thanks

There is a .fet XML file on which you work, and a locked .fet XML file which is automatically saved after a successful generation in the fet-results/file/ directory. There is no database.
Title: Re: Algorithm
Post by: Liviu Lalescu on May 26, 2016, 07:33:42 PM
Quote from: nahuel062 on May 26, 2016, 05:50:55 PM
Hi, I would like to know if it would be possible to extract the algorithm from generate.cpp and generate-pre.cpp and export it to another language, like Visual Basic, or Java.

You can also see this topic: http://lalescu.ro/liviu/fet/forum/index.php?topic=2450.0