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

Public Member Functions | |
virtual size_t | Contains (const char *str, bool case_sensitive=true) const =0 |
Alias for Find() and FindCaseInsensitive(). | |
virtual void | DeleteAll ()=0 |
Remove all strings from array. | |
virtual bool | DeleteIndex (size_t n)=0 |
Delete string n from the array. | |
virtual void | Empty ()=0 |
Remove all strings from array, releasing allocated memory. | |
virtual size_t | Find (const char *value) const =0 |
Find a string, case-sensitive. | |
virtual size_t | FindCaseInsensitive (const char *value) const =0 |
Find a string, case-insensitive. | |
virtual size_t | FindSortedKey (const char *value) const =0 |
Find an element based on some key, using a comparison function. | |
virtual char const * | Get (size_t n) const =0 |
Get a particular string from the array. | |
virtual size_t | GetSize () const =0 |
Get array length. | |
virtual bool | Insert (size_t n, char const *value)=0 |
Insert a string before entry n in the array. | |
virtual bool | IsEmpty () const =0 |
Return true if the array is empty. | |
virtual size_t | Length () const =0 |
Get array length. | |
virtual char * | Pop ()=0 |
Pop an element from tail end of array. | |
virtual void | Push (const char *value)=0 |
Push a string onto the stack. | |
virtual void | Sort (bool case_sensitive=true)=0 |
Sort array. |
Detailed Description
This is an SCF-compatible interface for csStringArray.
Definition at line 34 of file stringarray.h.
Member Function Documentation
|
Alias for Find() and FindCaseInsensitive().
Implemented in scfStringArray. |
|
Remove all strings from array.
Implemented in scfStringArray. |
|
Delete string
Implemented in scfStringArray. |
|
Remove all strings from array, releasing allocated memory.
Implemented in scfStringArray. Referenced by scfStringArray::DeleteAll(). |
|
Find a string, case-sensitive.
Implemented in scfStringArray. |
|
Find a string, case-insensitive.
Implemented in scfStringArray. |
|
Find an element based on some key, using a comparison function.
Implemented in scfStringArray. |
|
Get a particular string from the array.
Implemented in scfStringArray. |
|
Get array length.
Implemented in scfStringArray. Referenced by scfStringArray::Length(). |
|
Insert a string before entry
Implemented in scfStringArray. |
|
Return true if the array is empty.
Implemented in scfStringArray. |
|
Get array length.
Implemented in scfStringArray. |
|
Pop an element from tail end of array.
Implemented in scfStringArray. |
|
Push a string onto the stack.
Implemented in scfStringArray. |
|
Sort 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.4.4