|
Foxit PDF SDK
|
An array of float values.
More...
Instance Methods | |
| (BOOL) | - add: |
| Add an element at the tail. Potentially growing the array. More... | |
| (int) | - find:iStart: |
| Find an element from specified position to last. More... | |
| (float) | - getAt: |
| 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... | |
| (id) | - init |
| Constructor. | |
| (id) | - initWithOther: |
| Constructor, with another array object. More... | |
| (BOOL) | - insertAt:newElement:nCount: |
| Inset one or more continuous element at specified position. More... | |
| (void) | - removeAll |
| Clean up the array. More... | |
| (BOOL) | - removeAt:nCount: |
| Remove a number of elements at specified position. More... | |
| (BOOL) | - setAt:newElement: |
| This method overwrites an element specified by an index number. More... | |
| (BOOL) | - setAtGrow:newElement: |
| Set an element value at specified position. Potentially growing the array. More... | |
| (BOOL) | - setSize:nGrowBy: |
| Change the allocated size and the grow amount. More... | |
An array of float values.
| - (BOOL) add: | (float) | newElement |
Add an element at the tail. Potentially growing the array.
| [in] | newElement | The input element. |
| - (int) find: | (float) | data | |
| iStart: | (int) | iStart | |
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. |
| - (float) getAt: | (int) | nIndex |
This method retrieves an element specified by an index number.
| [in] | nIndex | Specifies the zero-based index of the element. |
| - (int) getSize |
Get the number of elements in the array.
| - (int) getUpperBound |
Get the upper bound in the array, actually the maximum valid index.
| - (id) initWithOther: | (FSFloatArray*) | other |
Constructor, with another array object.
| [in] | other | Another array object. |
| - (BOOL) insertAt: | (int) | nIndex | |
| newElement: | (float) | newElement | |
| nCount: | (int) | nCount | |
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. |
| - (void) removeAll |
Clean up the array.
| - (BOOL) removeAt: | (int) | nIndex | |
| nCount: | (int) | nCount | |
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. |
| - (BOOL) setAt: | (int) | nIndex | |
| newElement: | (float) | newElement | |
This method overwrites an element specified by an index number.
| [in] | nIndex | Specifies the zero-based index of the element. |
| [in] | newElement | An element. |
| - (BOOL) setAtGrow: | (int) | nIndex | |
| newElement: | (float) | newElement | |
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. |
| - (BOOL) setSize: | (int) | nNewSize | |
| nGrowBy: | (int) | nGrowBy | |
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. |