iStringArray Struct Reference
[Utilities]
This is an SCF-compatible interface for csStringArray.
More...
#include <stringarray.h>
Inheritance diagram for iStringArray:

Public Methods | |
virtual int | Length () const=0 |
Query array length. | |
virtual void | Push (const char *value)=0 |
Push a string onto the stack. | |
virtual char * | Pop ()=0 |
Pop a string from the top of stack. | |
virtual char const * | Get (int n) const=0 |
Get Nth string in vector. | |
virtual int | Find (const char *value) const=0 |
Find a string, case-sensitive. | |
virtual int | FindCaseInsensitive (const char *value) const=0 |
Find a string, case-insensitive. | |
virtual int | FindSortedKey (const char *value) const=0 |
Find index of a string in a pre-sorted string array. | |
virtual void | Sort ()=0 |
Sort the string array. | |
virtual bool | DeleteIndex (int n)=0 |
Delete Nth string in the array. | |
virtual bool | Insert (int n, char const *value)=0 |
Insert a string before Nth string in the array. | |
virtual void | DeleteAll ()=0 |
Delete all strings in array. |
Detailed Description
This is an SCF-compatible interface for csStringArray.
Definition at line 33 of file stringarray.h.
Member Function Documentation
|
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.
Implemented in scfStringArray. |
|
Sort the string array.
Implemented in scfStringArray. |
The documentation for this struct was generated from the following file:
- iutil/stringarray.h
Generated for Crystal Space by doxygen 1.2.18