Re: [Flightgear-devel] About flightgears XML property list format

2005-10-26 Thread Andy Ross
Kitts wrote: > Yes. But as i understand, the value of the leaf node may be read either with > getDoubleValue or getFloatValue or getStringValue etc. How does one reading > the node's value know what is the type so as to call the appropriate > method? Unless this is an internal thing meant for the l

Re: [Flightgear-devel] About flightgears XML property list format

2005-10-26 Thread Kitts
On Wednesday 26 Oct 2005 11:01 pm IST, Kitts wrote: Ki> Yes. But as i understand, the value of the leaf node may be read either with Ki> getDoubleValue or getFloatValue or getStringValue etc. How does one reading Ki> the node's value know what is the type so as to call the appropriate Ki> meth

Re: [Flightgear-devel] About flightgears XML property list format

2005-10-26 Thread Kitts
On Wednesday 26 Oct 2005 10:30 pm IST, Andy Ross wrote: AR> Kitts wrote: AR> > I would like to know if there is any documentation on the XML file AR> > format used within FlightGear. AR> AR> First, note that the file format is used to generate a SGPropertyNode AR> C++ object.  So the details of ho

Re: [Flightgear-devel] About flightgears XML property list format

2005-10-26 Thread Andy Ross
Kitts wrote: > I would like to know if there is any documentation on the XML file > format used within FlightGear. First, note that the file format is used to generate a SGPropertyNode C++ object. So the details of how that class should drive your understanding of the on-disk representation. > A

[Flightgear-devel] About flightgears XML property list format

2005-10-26 Thread Kitts
Hi All, I would like to know if there is any documentation on the XML file format used within FlightGear. I find that the SimGear API readProperties is what is used to parse an XML file but i would like to know if there is standard format which must be adhered to when using this API. All the X