Property tree: Difference between revisions

Jump to navigation Jump to search
m
Tim Moore: http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg21193.html
m (courtesy of Lee E: http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg21192.html)
m (Tim Moore: http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg21193.html)
Line 30: Line 30:
Adding new property tree branches and nodes to handle your unique data presents no problems.
Adding new property tree branches and nodes to handle your unique data presents no problems.


Naming a property is very much like naming a file in a file system, with levels of hierarchy.
The property tree maps very nicely to XML. This is convenient for initializing the property tree and saving its state.
Values in the tree are typed, but they can also be untyped strings which will be converted to a typed value when read.
== First Steps ==


To make it easier to manipulate the tree, start FlightGear with the following command line
To make it easier to manipulate the tree, start FlightGear with the following command line

Navigation menu