On Freitag, 20. August 2004 21:10, Jon S Berndt wrote:
> So, my question is: What is the philosophy behind loading various
> classes with their own data from the config file using EasyXML
> callbacks?

This kind of xml parsers is designed to build a 'tree' of objects representing 
the data stored in the 'tree' of the xml file.

Thus this kind of parsers fit very well for the property /tree/ example Erik 
mentioned.

But also an aircraft is built like such a tree. The top node is the aircraft 
itself. This one has a flightcontrolsystem, some object containing the 
aerodynamic properties of the aircraft, a list of engines, a list of 
undercarriage elements and so on.

   Greetings

       Mathias

-- 
Mathias Fr�hlich, email: [EMAIL PROTECTED]

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to