|
Foxit PDF SDK
|
Public 成员函数 | |
| Add (new_element) | |
| 在尾部添加一个元素。可能会增长数组。 更多... | |
| constructor () | |
| 构造函数。 | |
| Find (data, start) | |
| Find an element from specified position to last. 更多... | |
| GetAt (index) | |
| This method retrieves an element specified by an index number. 更多... | |
| GetSize () | |
| 获取数组中元素的数量。 更多... | |
| InsertAt (index, new_element, count) | |
| Inset one or more continuous element at specified position. 更多... | |
| InsertAt (start_index, new_array) | |
| Inset an array at specified position. 更多... | |
| RemoveAll () | |
| Clean up the array. 更多... | |
| RemoveAt (index, count) | |
| Remove a number of elements at specified position. 更多... | |
| SetAt (index, new_element) | |
| 此方法覆盖由索引号指定的元素。 更多... | |
| SetAtGrow (index, new_element) | |
| 在指定位置设置元素值。可能会增长数组。 更多... | |
|
inline |
在尾部添加一个元素。可能会增长数组。
| [in] | new_element | 输入元素。 |
|
inline |
Find an element from specified position to last.
| [in] | data | The input element. |
| [in] | start | Specifies the zero-based index of start element to find. |
|
inline |
This method retrieves an element specified by an index number.
| [in] | index | Specifies the zero-based index of the element. |
|
inline |
获取数组中元素的数量。
获取数组中的上界,实际上是最大有效索引。
更改分配的大小和增长量。
| [in] | new_size | The new size in elements expected. |
| [in] | grow_by | The grow amount in elements expected. This can be -1 for the grow amount unchanged. |
|
inline |
Inset one or more continuous element at specified position.
| [in] | index | Specifies the zero-based index in the array. |
| [in] | new_element | Specifies the element value to insert. |
| [in] | count | Specifies the count of the element to insert. |
|
inline |
Inset an array at specified position.
| [in] | start_index | Specifies the zero-based index of start element to insert at. |
| [in] | new_array | The input array. |
|
inline |
Clean up the array.
|
inline |
Remove a number of elements at specified position.
| [in] | index | Specifies the zero-based index in the array. |
| [in] | count | Specifies the count of element to remove. |
|
inline |
此方法覆盖由索引号指定的元素。
| [in] | index | 指定元素的从零开始的索引。 |
| [in] | new_element | 元素。 |
|
inline |
在指定位置设置元素值。可能会增长数组。
| [in] | index | 指定数组中元素的从零开始的索引。 |
| [in] | new_element | 输入元素。 |