IntsetIter
Object Hierarchy:
Description:
[ CCode ( has_type_id = false ) ]
[ Version ( deprecated = true ) ]
public struct IntsetIter
Warning: IntsetIter is deprecated.
A structure representing iteration over a set of integers.
Note:
since 0.19.0.
Use IntsetFastIter instead
Must be initialized with either TP_INTSET_ITER_INIT
or init
.
Since 0.11.6, consider using IntsetFastIter if iteration in numerical
order is not required.
Before 0.11.16, this type was called TpIntSetIter
, which is now a backwards compatibility typedef.
Content:
Methods:
- public void init (Intset @set)
Reset the iterator this to the
beginning and make it iterate over set
.
- public bool next ()
If there are integers in (iter->set
) higher than (
iter->element
), set (iter->element) to the next one and return true
.
- public void reset ()
Reset the iterator this to the
beginning.
Fields: