![]() |
Public API Reference |
![]() |
An array of strings. More...
#include <csutil/stringarray.h>
Public Member Functions | |
csStringArray (size_t limit=0, size_t threshold=0) | |
Constructor for an empty array of strings. | |
csStringArray (const char *str, const char *delimiters, ConsecutiveDelimiterMode delimMode=delimSplitEach, size_t limit=0, size_t threshold=0) | |
Constructor for an array of string initialized by splitting a given string. |
An array of strings.
Definition at line 317 of file stringarray.h.
csStringArray::csStringArray | ( | size_t | limit = 0 , |
size_t | threshold = 0 |
||
) | [inline] |
Constructor for an empty array of strings.
limit | Initial count of elements that are allocated in the array. |
threshold | Amount of additional elements that are allocated when the maximum count is reached. |
Definition at line 328 of file stringarray.h.
csStringArray::csStringArray | ( | const char * | str, |
const char * | delimiters, | ||
ConsecutiveDelimiterMode | delimMode = delimSplitEach , |
||
size_t | limit = 0 , |
||
size_t | threshold = 0 |
||
) | [inline] |
Constructor for an array of string initialized by splitting a given string.
str | The string to split and place in this array. |
delimiters | The delimiters to use to split the string. |
delimMode | The way to split this array |
limit | Initial count of elements that are allocated in the array. |
threshold | Amount of additional elements that are allocated when the maximum count is reached. |
Definition at line 343 of file stringarray.h.