SequenceIter

class SequenceIter(val glibSequenceIterPointer: <Error class: unknown class><<Error class: unknown class>>) : ProxyInstance(source)

The #GSequenceIter struct is an opaque data type representing an iterator pointing into a #GSequence.

Constructors

Link copied to clipboard
constructor(glibSequenceIterPointer: <Error class: unknown class><<Error class: unknown class>>)

Properties

Link copied to clipboard
val glibSequenceIterPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open override val handle: <Error class: unknown class>

Functions

Link copied to clipboard
open override fun addCleaner(cleaner: <Error class: unknown class>): Boolean

Registers a cleaner to be executed when this proxy object is garbage collected.

Link copied to clipboard
fun compare(b: SequenceIter): <Error class: unknown class>

Returns a negative number if @a comes before @b, 0 if they are equal, and a positive number if @a comes after @b.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Compare two proxy instances for equality. This will compare both the type of the instances, and their memory addresses.

Link copied to clipboard
fun getPosition(): <Error class: unknown class>

Returns the position of @iter

Link copied to clipboard

Returns the #GSequence that @iter points into.

Link copied to clipboard
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

Returns whether @iter is the begin iterator

Link copied to clipboard
fun isEnd(): Boolean

Returns whether @iter is the end iterator

Link copied to clipboard
fun move(delta: <Error class: unknown class>): SequenceIter

Returns the #GSequenceIter which is @delta positions away from @iter. If @iter is closer than -@delta positions to the beginning of the sequence, the begin iterator is returned. If @iter is closer than @delta positions to the end of the sequence, the end iterator is returned.

Link copied to clipboard

Returns an iterator pointing to the next position after @iter. If @iter is the end iterator, the end iterator is returned.

Link copied to clipboard

Returns an iterator pointing to the previous position before @iter. If @iter is the begin iterator, the begin iterator is returned.

Link copied to clipboard
open override fun removeCleaner(cleaner: <Error class: unknown class>): Boolean

Removes a previously registered cleaner from this proxy object.