Sync classref with current source

This commit is contained in:
Rémi Verschelde
2019-10-29 12:48:46 +01:00
parent bbc6682099
commit a72184300f
449 changed files with 14004 additions and 232 deletions

View File

@@ -77,60 +77,80 @@ Method Descriptions
Clear the dictionary, removing all key/value pairs.
----
.. _class_Dictionary_method_duplicate:
- :ref:`Dictionary<class_Dictionary>` **duplicate** **(** :ref:`bool<class_bool>` deep=False **)**
Creates a copy of the dictionary, and returns it.
----
.. _class_Dictionary_method_empty:
- :ref:`bool<class_bool>` **empty** **(** **)**
Returns ``true`` if the dictionary is empty.
----
.. _class_Dictionary_method_erase:
- :ref:`bool<class_bool>` **erase** **(** :ref:`Variant<class_Variant>` key **)**
Erase a dictionary key/value pair by key. Returns ``true`` if the given key was present in the dictionary, ``false`` otherwise. Does not erase elements while iterating over the dictionary.
----
.. _class_Dictionary_method_get:
- :ref:`Variant<class_Variant>` **get** **(** :ref:`Variant<class_Variant>` key, :ref:`Variant<class_Variant>` default=Null **)**
Returns the current value for the specified key in the ``Dictionary``. If the key does not exist, the method returns the value of the optional default argument, or ``null`` if it is omitted.
----
.. _class_Dictionary_method_has:
- :ref:`bool<class_bool>` **has** **(** :ref:`Variant<class_Variant>` key **)**
Returns ``true`` if the dictionary has a given key.
----
.. _class_Dictionary_method_has_all:
- :ref:`bool<class_bool>` **has_all** **(** :ref:`Array<class_Array>` keys **)**
Returns ``true`` if the dictionary has all of the keys in the given array.
----
.. _class_Dictionary_method_hash:
- :ref:`int<class_int>` **hash** **(** **)**
Returns a hashed integer value representing the dictionary contents.
----
.. _class_Dictionary_method_keys:
- :ref:`Array<class_Array>` **keys** **(** **)**
Returns the list of keys in the ``Dictionary``.
----
.. _class_Dictionary_method_size:
- :ref:`int<class_int>` **size** **(** **)**
Returns the size of the dictionary (in pairs).
----
.. _class_Dictionary_method_values:
- :ref:`Array<class_Array>` **values** **(** **)**