![]() |
Public API Reference |
#include <stringarray.h>
Inheritance diagram for iStringArray:
Public Methods | |
virtual int | Length () const=0 |
Query array length. More... | |
virtual void | Push (const char *value)=0 |
Push a string onto the stack. More... | |
virtual char * | Pop ()=0 |
Pop a string from the top of stack. More... | |
virtual char const * | Get (int n) const=0 |
Get Nth string in vector. More... | |
virtual int | Find (const char *value) const=0 |
Find a string, case-sensitive. More... | |
virtual int | FindCaseInsensitive (const char *value) const=0 |
Find a string, case-insensitive. More... | |
virtual int | FindSortedKey (const char *value) const=0 |
Find index of a string in a pre-sorted string array. More... | |
virtual void | Sort ()=0 |
Sort the string array. More... | |
virtual bool | DeleteIndex (int n)=0 |
Delete Nth string in the array. More... | |
virtual bool | Insert (int n, char const *value)=0 |
Insert a string before Nth string in the array. More... | |
virtual void | DeleteAll ()=0 |
Delete all strings in array. More... |
Definition at line 33 of file iutil/stringarray.h.
|
Delete all strings in array.
Implemented in scfStringArray. |
|
Delete Nth string in the array.
Implemented in scfStringArray. |
|
Find a string, case-sensitive. Returns -1 if not found, else item index. Works with unsorted arrays. For sorted arrays, FindSortedKey() is faster. Implemented in scfStringArray. |
|
Find a string, case-insensitive. Returns -1 if not found, else item index. Works with unsorted arrays. For sorted arrays, FindSortedKey() is faster. Implemented in scfStringArray. |
|
Find index of a string in a pre-sorted string array.
Implemented in scfStringArray. |
|
Get Nth string in vector.
Implemented in scfStringArray. |
|
Insert a string before Nth string in the array.
Implemented in scfStringArray. |
|
Query array length.
Implemented in scfStringArray. |
|
Pop a string from the top of stack.
Implemented in scfStringArray. |
|
Push a string onto the stack.
|
|
Sort the string array.
Implemented in scfStringArray. |