Howto:Work with the Property Tree API: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
Line 8: Line 8:
Most of the high level API can be found in the [[$FG_SRC]]/Main folder, specifically the files fg_props.cxx and the corresponding fg_props.hxx header are relevant (this is the one, that you'll want to include when working with the property tree).  
Most of the high level API can be found in the [[$FG_SRC]]/Main folder, specifically the files fg_props.cxx and the corresponding fg_props.hxx header are relevant (this is the one, that you'll want to include when working with the property tree).  


The property tree implementation itself is to be found in the SimGear sources ([http://simgear.org/doxygen/props_8cxx-source.html] see specifically [http://www.menet.umn.edu/~curt/simgear/doxygen/classSGPropertyNode.html SGPropertyNode]).
The property tree implementation itself is to be found in the SimGear sources ([http://www.menet.umn.edu/~curt/simgear/doxygen/props__io_8cxx_source.html] see specifically [http://www.menet.umn.edu/~curt/simgear/doxygen/classSGPropertyNode.html SGPropertyNode]).


Note: Accessing property manager values via static propertynode pointers is more efficient because you only have to do the expensive string name hash lookup once the first time the routine runs.   
Note: Accessing property manager values via static propertynode pointers is more efficient because you only have to do the expensive string name hash lookup once the first time the routine runs.   
3

edits

Navigation menu