#include <castringlist.h>
Public Member Functions | |
| CAStringList (char separator='~') | |
| Constructor. | |
| CAStringList (const char *list, char separator='~') | |
| Constructor. | |
| ~CAStringList () | |
| Destructor. | |
| void | setList (const char *list) |
| Sets the string list. | |
| int | count () |
| Count. | |
| char * | getItem (int which, int maxLen=CA_SL_ITEMSIZE) |
| Returns item number 'which' of the list. | |
It's not fast, not good, but simple.
| void CAStringList::setList | ( | const char * | list | ) | [inline] |
Sets the string list.
| list | The new list in format "entry 1~entry2~entry3". |
| char * CAStringList::getItem | ( | int | which, | |
| int | maxLen = CA_SL_ITEMSIZE | |||
| ) |
Returns item number 'which' of the list.
| maxLen | Max length of the sting to return. Default: 128 |
1.5.0