]> git.mxchange.org Git - simgear.git/commit
Major property-manager rewrite, using const char * throughout
authordavid <david>
Tue, 19 Mar 2002 16:07:47 +0000 (16:07 +0000)
committerdavid <david>
Tue, 19 Mar 2002 16:07:47 +0000 (16:07 +0000)
commit4d0bc0ae39d40d9bff1f36ff9d77bd402a3ec025
tree1ee207a46f7fe82bda33be402e63ed3475456cb8
parentf9824aa7de72b0d1d7ad57027984f16f4cb83a19
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.
simgear/misc/props.cxx
simgear/misc/props.hxx
simgear/misc/props_io.cxx
simgear/misc/props_test.cxx