]> git.mxchange.org Git - simgear.git/blobdiff - simgear/props/props.hxx
Harald JOHNSEN:
[simgear.git] / simgear / props / props.hxx
index c800f29da755b36a7560167499177f0574e0c308..9ce7df4bf52524d315366884ae72b97b292da427 100644 (file)
@@ -850,10 +850,8 @@ public:
 
   /**
    * Get the type of leaf value, if any, for this node.
-   * When applied to an ALIAS node, deref_alias decides if the type
-   * of the referred node is to be returned (default), or ALIAS.
    */
-  Type getType (bool deref_alias = true) const;
+  Type getType () const;
 
 
   /**
@@ -1174,6 +1172,12 @@ public:
   void fireChildRemoved (SGPropertyNode * child);
 
 
+  /**
+   * Clear any existing value and set the type to NONE.
+   */
+  void clearValue ();
+
+
 protected:
 
   void fireValueChanged (SGPropertyNode * node);
@@ -1205,12 +1209,6 @@ private:
   bool set_string (const char * value);
 
 
-  /**
-   * Clear any existing value and set the type to NONE.
-   */
-  void clear_value ();
-
-
   /**
    * Get the value as a string.
    */
@@ -1314,6 +1312,7 @@ private:
       bucket ();
       virtual ~bucket ();
       virtual entry * get_entry (const char * key, bool create = false);
+      virtual void erase(const char * key);
     private:
       int _length;
       entry ** _entries;
@@ -1325,6 +1324,7 @@ private:
     virtual ~hash_table ();
     virtual SGPropertyNode * get (const char * key);
     virtual void put (const char * key, SGPropertyNode * value);
+    virtual void erase(const char * key);
 
   private:
     unsigned int hashcode (const char * key);