void | append (xrstring value) | |
Appends an element with the specified value to the end of the sequence. | ||
void | clear () | |
Removes all the elements from the sequence. | ||
static xstringsequence * | create () | |
Creates a new empty sequence. | ||
static xstringsequence * | createCapacity (xint count) | |
Creates a new empty sequence with a specified initial capacity. Capacity is the number of elements, that can be added to the sequence without having to reallocate its internal buffers. | ||
xstring | get (xint idx) | |
Returns the value of the sequence element with the specified index. If the index is out of range, this method throws exception cipXInvalidSeqIndex. | ||
xint | getarraysize () | |
Returns current number of elements in the sequence. | ||
void | insert (xint idx, xrstring value) | |
Inserts an element with the specified value in front of the sequence element with the specified index. If the index is out of range, the sequence is expanded to include this index. | ||
void | insertseq (xint idx, xtbsequence<xrstring> *seq) | |
Inserts elements from the list passed as the second argument in front of the sequence element with the specified index. If the index is out of range, the sequence is expanded to include this index. | ||
void | removerange (xint frominc, xint toexcl) | |
Removes elements in the specified range from the sequence. The first argument specifies the index of the first element to be removed. The second argument specifies the index of the element immediately after the last in the range to be removed. | ||
void | set (xint idx, xrstring value) | |
Assigns a value to the sequence element with the specified index. If the index is out of range, the sequence is expanded to include this index. | ||
xint | getarraysize | () |
Returns current number of elements in the sequence.
|
xstring | get | (xint idx) |
Returns the value of the sequence element with the specified index. If the index is out of range, this method throws exception cipXInvalidSeqIndex.
|
void | set | (xint idx, xrstring value) |
Assigns a value to the sequence element with the specified index. If the index is out of range, the sequence is expanded to include this index.
|
void | removerange | (xint frominc, xint toexcl) |
Removes elements in the specified range from the sequence. The first argument specifies the index of the first element to be removed. The second argument specifies the index of the element immediately after the last in the range to be removed.
|
void | append | (xrstring value) |
Appends an element with the specified value to the end of the sequence.
|
void | insert | (xint idx, xrstring value) |
Inserts an element with the specified value in front of the sequence element with the specified index. If the index is out of range, the sequence is expanded to include this index.
|
void | insertseq | (xint idx, xtbsequence<xrstring> *seq) |
Inserts elements from the list passed as the second argument in front of the sequence element with the specified index. If the index is out of range, the sequence is expanded to include this index.
|
void | clear | () |
Removes all the elements from the sequence.
|
static xstringsequence * | create | () |
Creates a new empty sequence.
|
static xstringsequence * | createCapacity | (xint count) |
Creates a new empty sequence with a specified initial capacity. Capacity is the number of elements, that can be added to the sequence without having to reallocate its internal buffers.
|