]> git.mxchange.org Git - flightgear.git/commit
Major property-manager rewrite, using const char * throughout
authordavid <david>
Tue, 19 Mar 2002 17:12:13 +0000 (17:12 +0000)
committerdavid <david>
Tue, 19 Mar 2002 17:12:13 +0000 (17:12 +0000)
commit0cc3bed841c8b75d6fe48705a3589a8bb500c609
tree1c3ad25358f03acfbf20845e1a02317813ff33ee
parent47b230735620a285783566ace5e6cfd9ad08f664
Major property-manager rewrite, using const char * throughout
interface instead of string.  This will result in a lot more
efficiency later, once I add in a simple hash table for caching
lookups, since it will avoid creating a lot of temporary string
objects.  The major considerations for users will be that they cannot
use

  node->getName() == "foo";

any more, and will have to use c_str() when setting a string value
from a C++ string.
20 files changed:
src/Autopilot/auto_gui.cxx
src/Autopilot/newauto.cxx
src/Cockpit/cockpit.cxx
src/Cockpit/panel.cxx
src/Cockpit/panel_io.cxx
src/FDM/LaRCsim.cxx
src/GUI/apt_dlg.cxx
src/GUI/net_dlg.cxx
src/GUI/prop_picker.cxx
src/Main/fg_commands.cxx
src/Main/fg_props.cxx
src/Main/fg_props.hxx
src/Main/main.cxx
src/Main/options.cxx
src/Network/httpd.cxx
src/Network/props.cxx
src/NetworkOLK/network.cxx
src/Objects/matlib.cxx
src/Sound/fg_fx.cxx
src/Sound/fg_sound.cxx