|
Foxit PDF SDK
|
An array of signed integer values. More...
Public Member Functions | |
| Int32Array () | |
| Construct a simple object. | |
| Int32Array (Int32Array other) | |
| Constructor, with another array object. More... | |
| bool | Add (int newElement) |
| Add an element at the tail. Potentially growing the array. More... | |
| int | Find (int data, int iStart) |
| Find an element from specified position to last. More... | |
| int | GetAt (int nIndex) |
| This method retrieves an element specified by an index number. More... | |
| int | GetSize () |
| Get the number of elements in the array. More... | |
| int | GetUpperBound () |
| Get the upper bound in the array, actually the maximum valid index. More... | |
| bool | InsertAt (int nIndex, int newElement, int nCount) |
| Inset one or more continuous element at specified position. More... | |
| bool | InsertAt (int nStartIndex, BasicArray pNewArray) |
| Inset an array at specified position. More... | |
| void | RemoveAll () |
| Clean up the array. More... | |
| bool | RemoveAt (int nIndex, int nCount) |
| Remove a number of elements at specified position. More... | |
| bool | SetAt (int nIndex, int newElement) |
| This method overwrites an element specified by an index number. More... | |
| bool | SetAtGrow (int nIndex, int newElement) |
| Set an element value at specified position. Potentially growing the array. More... | |
| bool | SetSize (int nNewSize, int nGrowBy) |
| Change the allocated size and the grow amount. More... | |
An array of signed integer values.
|
inline |
Constructor, with another array object.
| [in] | other | Another array object. |
|
inline |
Add an element at the tail. Potentially growing the array.
| [in] | newElement | The input element. |
|
inline |
Find an element from specified position to last.
| [in] | data | The input element. |
| [in] | iStart | Specifies the zero-based index of start element to find. |
|
inline |
This method retrieves an element specified by an index number.
| [in] | nIndex | Specifies the zero-based index of the element. |
|
inline |
Get the number of elements in the array.
|
inline |
Get the upper bound in the array, actually the maximum valid index.
|
inline |
Inset one or more continuous element at specified position.
| [in] | nIndex | Specifies the zero-based index in the array. |
| [in] | newElement | Specifies the element value to insert. |
| [in] | nCount | Specifies the count of the element to insert. |
|
inline |
Inset an array at specified position.
| [in] | nStartIndex | Specifies the zero-based index of start element to insert at. |
| [in] | pNewArray | The input array. |
|
inline |
Clean up the array.
|
inline |
Remove a number of elements at specified position.
| [in] | nIndex | Specifies the zero-based index in the array. |
| [in] | nCount | Specifies the count of element to remove. |
|
inline |
This method overwrites an element specified by an index number.
| [in] | nIndex | Specifies the zero-based index of the element. |
| [in] | newElement | An element. |
|
inline |
Set an element value at specified position. Potentially growing the array.
| [in] | nIndex | Specifies the zero-based index of element in the array. |
| [in] | newElement | The input element. |
|
inline |
Change the allocated size and the grow amount.
| [in] | nNewSize | The new size in elements expected. |
| [in] | nGrowBy | The grow amount in elements expected. This can be -1 for the grow amount unchanged. |