Is the FET File-Format documented anywhere?
Although the XML-Notation is quite straightforward, most Sample-Files incorporate only a small part of the features of FET.
thanks
Michael
QuoteIs the FET File-Format documented anywhere?
Although the XML-Notation is quite straightforward, most Sample-Files incorporate only a small part of the features of FET.
thanks
Michael
Unfortunately, it is not documented :-[
You can read the file src/engine/rules.cpp, function Rules::read for details.
You can add institution name, comments, days per week, hours per day, subjects, activity tags, teachers, students years, groups, subgroups, activities, rooms, buildings, time constraints, space constraints. This is all the data.
There is no special documentation.
So you can do 2 things:
1. generate a sample file that contain each constraint one time and just check the file yourself.
or, if you need it more detailed:
2. have a look into /src/engine/rules.cpp
first of all read function bool Rules::write(const QString& filename)
so you can see the order/structure of the xml file.
then maybe also read function bool Rules::read(const QString& filename) to get some more detailes.
All right. I will show up again when I don't understand anything (or everything ;))
thank you for the fast information!
i do not find any src/engine/rules.cpp file on my computer.
please let me know where it will be resided
Quotei do not find any src/engine/rules.cpp file on my computer.
please let me know where it will be resided
It is not present in the Windows exe archive. You need to download the sources tar.bz2 and unpack.
Get this tool if you can't unpack:
http://www.7-zip.org/