#include <colldata.h>

Public Member Functions | |
| StringList (UErrorCode &status) | |
Construct an empty StringList. | |
| ~StringList () | |
| The destructor. | |
| void | add (const UnicodeString *string, UErrorCode &status) |
| Add a string to the list. | |
| void | add (const UChar *chars, int32_t count, UErrorCode &status) |
| Add an array of Unicode code points to the list. | |
| const UnicodeString * | get (int32_t index) const |
| Get a particular string from the list. | |
| int32_t | size () const |
| Get the number of stings in the list. | |
| virtual UClassID | getDynamicClassID () const |
| the UObject glue. | |
Static Public Member Functions | |
| static UClassID | getStaticClassID () |
| the UObject glue. | |
This object holds a list of UnicodeString objects.
Definition at line 156 of file colldata.h.
| StringList::StringList | ( | UErrorCode & | status | ) |
Construct an empty StringList.
| status | - will be set if any errors occur. |
| StringList::~StringList | ( | ) |
The destructor.
| void StringList::add | ( | const UChar * | chars, | |
| int32_t | count, | |||
| UErrorCode & | status | |||
| ) |
Add an array of Unicode code points to the list.
| chars | - the address of the array of code points | |
| count | - the number of code points in the array | |
| status | - will be set if any errors occur. |
| void StringList::add | ( | const UnicodeString * | string, | |
| UErrorCode & | status | |||
| ) |
Add a string to the list.
| string | - the string to add | |
| status | - will be set if any errors occur. |
| const UnicodeString* StringList::get | ( | int32_t | index | ) | const |
Get a particular string from the list.
| index | - the index of the string |
UnicodeString or NULL if index is out of bounds.| virtual UClassID StringList::getDynamicClassID | ( | ) | const [virtual] |
| int32_t StringList::size | ( | ) | const |
Get the number of stings in the list.
1.5.7.1