Struct UIStringCollection

UIString item collection

Based on array.

Properties

Name Type Description
empty [get] bool Returns true if collection is empty
length [get] int Returns number of items

Methods

Name Description
add Insert resource id item into specified position
add Insert unicode string item into specified position
add Insert UIString item into specified position
addAll Append UIStringCollection
addAll Append array of string resource IDs
addAll Append array of unicode strings
clear Remove all items
get Return unicode string for item by index
indexOf Return index of first item with specified text or -1 if not found.
indexOf Return index of first item with specified string resource id or -1 if not found.
indexOf Return index of first item with specified string or -1 if not found.
opAssign Assign UIStringCollection
opAssign Assign array of string resource IDs
opAssign Assign array of unicode strings
opIndex Slice
opIndex Read item by index
opIndexAssign Modify item by index
opSlice Slice
remove Remove item with specified index

Authors

Vadim Lopatin, coolreader.org@gmail.com

Copyright

Vadim Lopatin, 2014

License

Boost License 1.0