setiterator¶
Holds the "setiterator" datatype
Associated DataTypes¶
setiterator¶
- A setiterator implements a forward iterator over the set type. A forward iterator is an iterator that can only be incremented. Invoking Advance on the iterator will position the iterator on the next element with a value lexicographically greater than the current element. If there is no next element, the iterator will be positioned on the end of the set and IsEnd will be true.
-
Members
bool
Reset¶- Positions the iterator to the start of the set. True is always returned.
bool
Advance¶- The iterator is moved to the next item in the set, if one exists. True is returned if the iterator was advanced and False otherwise.
bool
IsEnd¶- True if the iterator is at the end of the set.
string
Value¶- Returns the element of the set under the iterator.
This TLO is added by MQ2Collections.