Files
godot-docs-l10n/classes/es/class_poolstringarray.rst
Rémi Verschelde cf78697eea Add localized class reference as pre-generated RST files
Currently including `zh_CN` and `es` which both have very high completion
ratios. Others will be added once they reach a significant percentage too.

These RST files will be used by godot-docs in place of its `classes` folder
after we sync with https://github.com/godotengine/godot-docs/pull/5458.

The update workflow is manual for now (example for `zh_CN`):

- Build `godotengine/godot` in the branch we currently track (now `3.x`)
- Run `godot --doctool -l zh_CN`
- Run `cd doc && make rst LANGARG=zh_CN`
- Copy `doc/_build/rst/*` to `classes/zh_CN/` here
- Make sure to have `classes/zh_CN/index.rst` copied from `docs/classes`
2021-12-21 16:07:55 +01:00

155 lines
7.9 KiB
ReStructuredText

:github_url: hide
.. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
.. DO NOT EDIT THIS FILE, but the PoolStringArray.xml source instead.
.. The source is found in doc/classes or modules/<name>/doc_classes.
.. _class_PoolStringArray:
PoolStringArray
===============
A pooled :ref:`Array<class_Array>` of :ref:`String<class_String>`.
Descripción
----------------------
An :ref:`Array<class_Array>` specifically designed to hold :ref:`String<class_String>`\ s. Optimized for memory usage, does not fragment the memory.
\ **Note:** This type is passed by value and not by reference.
Tutoriales
--------------------
- `OS Test Demo <https://godotengine.org/asset-library/asset/677>`__
Métodos
--------------
+-----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------+
| :ref:`PoolStringArray<class_PoolStringArray>` | :ref:`PoolStringArray<class_PoolStringArray_method_PoolStringArray>` **(** :ref:`Array<class_Array>` from **)** |
+-----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`append<class_PoolStringArray_method_append>` **(** :ref:`String<class_String>` string **)** |
+-----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`append_array<class_PoolStringArray_method_append_array>` **(** :ref:`PoolStringArray<class_PoolStringArray>` array **)** |
+-----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`empty<class_PoolStringArray_method_empty>` **(** **)** |
+-----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`insert<class_PoolStringArray_method_insert>` **(** :ref:`int<class_int>` idx, :ref:`String<class_String>` string **)** |
+-----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`invert<class_PoolStringArray_method_invert>` **(** **)** |
+-----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------+
| :ref:`String<class_String>` | :ref:`join<class_PoolStringArray_method_join>` **(** :ref:`String<class_String>` delimiter **)** |
+-----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`push_back<class_PoolStringArray_method_push_back>` **(** :ref:`String<class_String>` string **)** |
+-----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`remove<class_PoolStringArray_method_remove>` **(** :ref:`int<class_int>` idx **)** |
+-----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`resize<class_PoolStringArray_method_resize>` **(** :ref:`int<class_int>` idx **)** |
+-----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`set<class_PoolStringArray_method_set>` **(** :ref:`int<class_int>` idx, :ref:`String<class_String>` string **)** |
+-----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`size<class_PoolStringArray_method_size>` **(** **)** |
+-----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------+
Descripciones de Métodos
------------------------------------------------
.. _class_PoolStringArray_method_PoolStringArray:
- :ref:`PoolStringArray<class_PoolStringArray>` **PoolStringArray** **(** :ref:`Array<class_Array>` from **)**
Constructs a new ``PoolStringArray``. Optionally, you can pass in a generic :ref:`Array<class_Array>` that will be converted.
----
.. _class_PoolStringArray_method_append:
- void **append** **(** :ref:`String<class_String>` string **)**
Concatena un elemento al final del array (alias de :ref:`push_back<class_PoolStringArray_method_push_back>`).
----
.. _class_PoolStringArray_method_append_array:
- void **append_array** **(** :ref:`PoolStringArray<class_PoolStringArray>` array **)**
Appends a ``PoolStringArray`` at the end of this array.
----
.. _class_PoolStringArray_method_empty:
- :ref:`bool<class_bool>` **empty** **(** **)**
Devuelve ``true`` si el array es vacio.
----
.. _class_PoolStringArray_method_insert:
- :ref:`int<class_int>` **insert** **(** :ref:`int<class_int>` idx, :ref:`String<class_String>` string **)**
Inserta un nuevo elemento en una posición determinada del array. La posición debe ser válida, o al final del array (``idx == size()``).
----
.. _class_PoolStringArray_method_invert:
- void **invert** **(** **)**
Invierte el orden de los elementos en el array.
----
.. _class_PoolStringArray_method_join:
- :ref:`String<class_String>` **join** **(** :ref:`String<class_String>` delimiter **)**
Returns a :ref:`String<class_String>` with each element of the array joined with the given ``delimiter``.
----
.. _class_PoolStringArray_method_push_back:
- void **push_back** **(** :ref:`String<class_String>` string **)**
Añade un elemento de string al final de la array.
----
.. _class_PoolStringArray_method_remove:
- void **remove** **(** :ref:`int<class_int>` idx **)**
Elimina un elemento del array por indice.
----
.. _class_PoolStringArray_method_resize:
- void **resize** **(** :ref:`int<class_int>` idx **)**
Establece el tamaño del conjunto. Si el array crece, reserva elementos al final del array. Si el array se reduce, trunca el array al nuevo tamaño.
----
.. _class_PoolStringArray_method_set:
- void **set** **(** :ref:`int<class_int>` idx, :ref:`String<class_String>` string **)**
Cambia la :ref:`String<class_String>` en el índice dado.
----
.. _class_PoolStringArray_method_size:
- :ref:`int<class_int>` **size** **(** **)**
Devuelve el tamaño del array.
.. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
.. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
.. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`