FET Forum

FET Support (English) => Programming Help => Topic started by: moris on July 25, 2008, 12:05:02 PM

Title: FET as API
Post by: moris on July 25, 2008, 12:05:02 PM
I want use FET as an API, I want use FileDataInput as param method and have FileDataOutput as result. Is it possible to do?
Title: Re: FET as API
Post by: Liviu Lalescu on July 25, 2008, 12:18:41 PM
There is available a command line version, did you try it? Maybe this is what you need.

I do not know what FileDataInput and FileDataOutput exactly mean. For the moment, I did not implement an API. But just look how things are done in src/interface/fet.cpp for the command line version: see lines 262-384.

It is possible to make an API for FET, not so difficult, I think.

Please let me know further questions.
Title: Re: FET as API
Post by: moris on July 25, 2008, 08:03:32 PM
Commande line version it's what I need, but about XML have you the shemat for input (*.fet) and output (subgroups_timetable.xml, teachers_timetable.xml) files.
Title: Re: FET as API
Post by: Liviu Lalescu on July 26, 2008, 09:09:23 AM
No, I don't have schemas. You will have to look on some examples.